home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d3 / sedtdoc4.arc / SEDTMAN.EDT < prev   
Text File  |  1989-11-01  |  196KB  |  6,418 lines

  1. Copyright (c) Anker Berg-Sonne, 1985-1989
  2.     Sedt Version 4.0 (254)
  3.  
  4.  
  5.                  Sedt Reference Manual
  6.  
  7.                      Index
  8.  
  9.     0        Introduction
  10.     0.0        Structure of This Manual
  11.     0.1        Terminology
  12.  
  13.     1        Primer
  14.     1.0        Getting Started
  15.     1.1        Display
  16.     1.2        Moving the cursor
  17.     1.3        Inserting Text
  18.     1.4        Deleting Text
  19.     1.5        Saving your changes
  20.     1.6        Summary
  21.     1.7        Limitations
  22.  
  23.     2        Advanced Guide
  24.     2.1        Introduction
  25.     2.2        Entering Sedt
  26.     2.2.1        -<Line Number>
  27.     2.2.2        -a
  28.     2.2.3        -at
  29.     2.2.4        -b
  30.     2.2.5        -co
  31.     2.2.6        -e
  32.     2.2.7        -edt
  33.     2.2.8        -ega
  34.     2.2.9        -f
  35.     2.2.10        -i<File Name>
  36.     2.2.11        -k
  37.     2.2.12        -l<Size>
  38.     2.2.13        -m<Hex number>
  39.     2.2.14        -mo
  40.     2.2.15        -p<PID>
  41.     2.2.16        -pc
  42.     2.2.17        -r
  43.     2.2.18        -rb
  44.     2.2.19        -ro
  45.     2.2.20        -s<Size>
  46.     2.2.21        -v
  47.     2.2.22        -wi
  48.     2.2.23        -wps
  49.     2.2.24        -xt
  50.  
  51.     2.3        Sedt's Data Files
  52.     2.3.1        Configuration File
  53.     2.3.1.1     AUTOSAVE
  54.     2.3.1.2        BACKUPFILE
  55.     2.3.1.3     BUFFERING
  56.     2.3.1.4        COLUMN
  57.     2.3.1.5        CONTEXT
  58.     2.3.1.6        CONTROLZ
  59.     2.3.1.7        CURSORLINE
  60.     2.3.1.8     DIALOG
  61.     2.3.1.9     EGA43
  62.     2.3.1.10    FONTSIZE
  63.     2.3.1.11    GOLD
  64.     2.3.1.12    JOURNALING
  65.     2.3.1.13    KEYBOARD
  66.     2.3.1.14    KEYPROG
  67.     2.3.1.15    MAPPING
  68.     2.3.1.16    MAXSCROLL
  69.     2.3.1.17    MODE
  70.     2.3.1.18    MOUSE
  71.     2.3.1.19    NUMLOCK
  72.     2.3.1.20    PALETTE
  73.     2.3.1.21    REMEMBER
  74.     2.3.1.22    RETURN
  75.     2.3.1.23    RULER
  76.     2.3.1.24    SCREEN
  77.     2.3.1.25    SCREENSHIFT
  78.     2.3.1.26    SHAREMESSAGE
  79.     2.3.1.27    SYSTEM
  80.     2.3.1.28    TAB
  81.     2.3.1.29    VIDEO
  82.     2.4        Initialization
  83.     2.5        Setting up the ruler
  84.     2.6        Options/Modes
  85.     2.7        Responding to Prompts
  86.     2.8        Repeating Commands
  87.     2.9        Cursor Movement
  88.     2.10        Text Insertion
  89.     2.11        Selecting Text Ranges
  90.     2.12        Deleting Text
  91.     2.13        Substitution
  92.     2.14        Windows and Buffers
  93.     2.15        Text Formatting
  94.     2.16        Programming Keys
  95.     2.17        Changing Options
  96.     2.18        Miscellaneous Commands
  97.  
  98.     3        Using the MS-DOS version of Sedt
  99.     3.1        Support of the Microsoft mouse driver
  100.  
  101.     4        Using the Microsoft Windows version of Sedt
  102.     4.1        Window Control
  103.     4.2        Mouse Control
  104.     4.3        Menu Control
  105.     4.3.1        File
  106.     4.3.1.1     New
  107.     4.3.1.2     Open..
  108.     4.3.1.2     Save
  109.     4.3.1.3     Save as..
  110.     4.3.1.4     Insert..
  111.     4.3.1.5     Quit
  112.     4.3.2        Window
  113.     4.3.2.1     Untitled
  114.             Unused
  115.             <File name>
  116.     4.3.2.2     Switch
  117.     4.3.3        Edit
  118.     4.3.3.1     Clear
  119.     4.3.3.2     Cut
  120.     4.3.3.3     Paste
  121.     4.3.4        Ruler
  122.     4.3.4.1     Load <X>
  123.     4.3.5        Help
  124.  
  125.     5        Using the ATARI GEM version of Sedt
  126.     5.1        Window Control
  127.     5.2        Mouse Control
  128.     5.3        Menu Control
  129.     5.3.1        Desk
  130.     5.3.1.1     About Sedt
  131.     5.3.2        File
  132.     5.3.2.1     Load..
  133.     5.3.2.2     Save
  134.     5.3.2.3     Save as..
  135.     5.3.2.4     Insert..
  136.     5.3.2.5     Quit
  137.     5.3.3        Window
  138.     5.3.3.1     Open 0
  139.     5.3.3.2     Switch
  140.     5.3.3.3     Clear
  141.     5.3.4        Select
  142.     5.3.4.1     Clear
  143.     5.3.4.2     Cut
  144.     5.3.4.3     Paste
  145.     5.3.5        Ruler
  146.     5.3.5.1     Load <X>
  147.     5.3.6        Help
  148.     5.3.6.1     Show
  149.  
  150.     6        Sedt hints and tricks
  151.     6.1        Using Sedt for programming
  152.     6.2        Using Sedt for text and documents
  153.     6.3        Repetitive tasks
  154.     6.4        Creating menus
  155.     6.5        Using  different    initialization    files   for
  156.             different file types
  157.     
  158.     7        Customizing keyboards
  159.     7.1        Function definition file
  160.     7.2        Key map file
  161.     7.3        MAPKEY program
  162.     
  163.     8        Help file
  164.  
  165.     9        Reference
  166.     9.1        Interpreting Keyboard Input
  167.     9.2        Translating Keystrokes
  168.     9.3        Command Syntax
  169.     9.4        Commands
  170.     9.4.1        Movement Commands
  171.     9.4.1.1     @AC    Absolute Character
  172.     9.4.1.2     @AL    Absolute Line
  173.     9.4.1.3     @BB    Beginning of Buffer
  174.     9.4.1.4     @BM    Match bracketing character
  175.     9.4.1.5     @EB    End of Buffer
  176.     9.4.1.6     @EL    End of Line
  177.     9.4.1.7     @C    Character
  178.     9.4.1.8     @F    Find
  179.     9.4.1.9     @L    Line
  180.     9.4.1.10    @M    Mark
  181.     9.4.1.11    @N    Next
  182.     9.4.1.12    @PAG    Page
  183.     9.4.1.13    @PAR    Paragraph
  184.     9.4.1.14    @SCR    Screen
  185.     9.4.1.15    @SEN    Sentence
  186.     9.4.1.16    @SR    Select Range
  187.     9.4.1.17    @V    Vertical
  188.     9.4.1.18    @W    Word
  189.     9.4.1.19    @XNM    Next Mark
  190.     9.4.1.20    @XSR    Select Region with no clear
  191.     9.4.2        Action Commands
  192.     9.4.2.1     :A    Advance
  193.     9.4.2.2     :B    Backward
  194.     9.4.2.3     :CB    Cursor at Bottom
  195.     9.4.2.4     :CC    Change Case
  196.     9.4.2.5     :CD    Change to Lower case
  197.     9.4.2.6     :CE    Change Case Edt Style
  198.     9.4.2.7     :CH    Insert ASCII Character
  199.     9.4.2.8     :CK    Checkpoint buffer
  200.     9.4.2.9     :CL    Center Line
  201.     9.4.2.10    :CM    Cursor at Middle
  202.     9.4.2.11    :CNA    Add number to counter
  203.     9.4.2.12    :CNG    Get counter from buffer
  204.     9.4.2.13    :CNI    Increment or decrement counter
  205.     9.4.2.14    :CNP    Insert value of counter in buffer
  206.     9.4.2.15    :CNS    Set counter value
  207.     9.4.2.16    :CS    Save buffer context
  208.     9.4.2.17    :CT    Cursor at Top
  209.     9.4.2.18    :CU    Change to Upper Case
  210.     9.4.2.19    :CW    Change to other window on screen
  211.     9.4.2.20    :D    Delete
  212.     9.4.2.21    :EAP    Delete and Append
  213.         9.4.2.22        :EF     Execute function
  214.     9.4.2.23    :EK    Execute key
  215.     9.4.2.24    :EL    Set error level
  216.     9.4.2.25    :ERC    Clear edit region
  217.     9.4.2.26    :ERS    Set edit region
  218.     9.4.2.27    :FE    Edit File
  219.     9.4.2.28    :FG    Get File
  220.     9.4.2.29    :FNL    Larger Font
  221.     9.4.2.30    :FNS    Smaller Font
  222.     9.4.2.31    :FS    Save File
  223.     9.4.2.32    :FW    Write File
  224.     9.4.2.33    :FX    Execute File
  225.     9.4.2.34    :GAP    Get and append
  226.     9.4.2.35    :GE    Get
  227.     9.4.2.36    :GR    Get ruler
  228.     9.4.2.37    :H    Help
  229.     9.4.2.38    :I    Insert
  230.     9.4.2.39    :KF    Define key function string
  231.     9.4.2.40    :KN    Define key function number
  232.     9.4.2.41    :LD    Decrease indentation
  233.     9.4.2.42    :LI    Increase indentation
  234.     9.4.2.43    :LK    Load key definition
  235.     9.4.2.44    :LNE    Execute keystrokes stored in key
  236.     9.4.2.45    :LNL    Store keystrokes in key
  237.     9.4.2.46    :LNX    End learning
  238.     9.4.2.47    :LS    Set indentation level
  239.     9.4.2.48    :M    Mark cursor position
  240.     9.4.2.49    :NL    New line
  241.     9.4.2.50    :NS    Substitute next
  242.     9.4.2.51    :OE    Output error message
  243.     9.4.2.52    :OL    Open line
  244.     9.4.2.53    :OM    Output message
  245.     9.4.2.54    :OS    Toggle overstrike mode
  246.     9.4.2.55    :OW    Switch to previous buffer
  247.     9.4.2.56    :PD    Insert current date
  248.     9.4.2.57    :PL    Load paste buffer
  249.     9.4.2.58    :POPCH    Restore saved buffer change flag
  250.     9.4.2.59    :PR    Print current buffer
  251.     9.4.2.60    :PS    Save paste buffer
  252.     9.4.2.61    :PT    Insert current time
  253.     9.4.2.62    :PUSHCH Save buffer change flag and clear
  254.     9.4.2.63    :Q    Quit
  255.     9.4.2.64    :REP    Replace
  256.     9.4.2.65    :RF    Refresh display
  257.     9.4.2.66    :RK    Redefine key as character
  258.     9.4.2.67    :RL    Ruler
  259.     9.4.2.68    :RMCHA    Clear character delete buffer
  260.     9.4.2.69    :RMHEL    Clear help buffer
  261.     9.4.2.70    :RMLIN    Clear line delete buffer
  262.     9.4.2.71    :RMPAG    Clear page delete buffer
  263.     9.4.2.72    :RMPAR    Clear paragraph delete buffer
  264.     9.4.2.73    :RMPAS    Clear paste buffer
  265.     9.4.2.74    :RMSEA    Clear search buffer
  266.     9.4.2.75    :RMSEN    Clear sentence delete buffer
  267.     9.4.2.76    :RMSUB    Clear substitute buffer
  268.     9.4.2.77    :RMUNK    Clear unknown delete buffer
  269.     9.4.2.78    :RMWOR    Clear word delete buffer
  270.     9.4.2.79    :RS    Reset select range
  271.     9.4.2.80    :RTAB    Replace tabs with spaces
  272.     9.4.2.81    :RUL    Load ruler from entity
  273.     9.4.2.82    :RUS    Save ruler in buffer
  274.         9.4.2.83        :SAVF   Save function definitions in a file
  275.     9.4.2.84    :SAVK    Save key definitions in a file
  276.     9.4.2.85    :SC    Show current column
  277.     9.4.2.86    :SEL    Select
  278.     9.4.2.87    :SETB    Set block/line mode toggle
  279.     9.4.2.88    :SETD    Set direction toggle
  280.     9.4.2.89    :SETK    Set typewriter key command execution
  281.     9.4.2.90    :SETR    Set replace/insert toggle
  282.     9.4.2.91    :SETT    Set tab insert/expand toggle
  283.     9.4.2.92    :SETU    Set case sensitivity toggle
  284.         9.4.2.93        :SETX   Set function expansion toggle
  285.     9.4.2.94    :SI    Send a shift in character
  286.     9.4.2.95    :SK    Save key definition
  287.     9.4.2.96    :SL    Load search buffer
  288.     9.4.2.97    :SO    Send a shift out character
  289.     9.4.2.98    :STAB    Replace multiple spaces with tabs
  290.     9.4.2.99    :STRP    Strip trailing spaces
  291.     9.4.2.100       :SUB    Substitute
  292.     9.4.2.101       :SV    Show Version
  293.     9.4.2.102       :SYQ    Spawn with no output
  294.     9.4.2.103    :SYR    Spawn with redirected output
  295.     9.4.2.104    :SYS    Spawn to operating system
  296.     9.4.2.105    :TAB    Move to next tab stop
  297.     9.4.2.106    :TAD    Adjust text by one tab stop
  298.     9.4.2.107    :TB    Toggle Block Mode
  299.     9.4.2.108    :TC    Toggle Control Character Display
  300.     9.4.2.109    :TD    Toggle Direction
  301.     9.4.2.110    :TF    Fill
  302.     9.4.2.111    :TI    Test for input
  303.     9.4.2.112    :TK    Toggle typewriter key command execution
  304.     9.4.2.113    :TM    Toggle buffer markers
  305.     9.4.2.114    :TP    Toggle Cursor Line
  306.     9.4.2.115    :TR    Toggle ruler display
  307.     9.4.2.116    :TS    Toggle automatic screen shifts
  308.     9.4.2.117    :TT    Toggle tab expansion
  309.     9.4.2.118    :TU    Toggle case sensitivity
  310.         9.4.2.119       :TX     Toggle functions expansion
  311.     9.4.2.120    :UC    Undelete character
  312.     9.4.2.121    :UL    Undelete line
  313.     9.4.2.122    :UM    Undo last command
  314.     9.4.2.123    :UOFF    Turn off screen updating
  315.     9.4.2.124    :UON    Turn on screen updating
  316.     9.4.2.125    :UPAG    Undelete page
  317.     9.4.2.126    :UPAR    Undelete paragraph
  318.     9.4.2.127    :UPD    Update screen header
  319.     9.4.2.128    :USEN    Undelete sentence
  320.     9.4.2.129    :USR    Paste
  321.     9.4.2.130    :UU    Undelete unknown
  322.     9.4.2.131    :UW    Undelete word
  323.     9.4.2.132    :WC    Toggle windows
  324.     9.4.2.133    :WD    Toggle width
  325.     9.4.2.134    :WI    Select buffer
  326.     9.4.2.135    :X    Exit
  327.     9.4.2.136    :YN    Prompt for confirmation
  328.     9.4.2.137    :Z    Zap buffer
  329.  
  330.     Appendix A    Keyboard translation
  331.     Appendix B    Installation
  332.     Appendix C    Error Messages
  333.     
  334.     Copyright (c) Anker Berg-Sonne, 1985-1989
  335.     Sedt Version 4.0 (254)
  336.  
  337.  
  338.                   Sedt Reference Manual
  339.  
  340.     0.0            Structure of This Manual
  341.  
  342.         This manual  is divided into three sections:  The first a
  343.     tutorial that introduces  the  user  to  the  essential basics of
  344.     editing using Sedt.   The  second an advanced guide that explains
  345.     the more complicated functions, and  the  third  a reference that
  346.     systematically covers all aspects of the  editor.    The Tutorial
  347.     and  Advanced Guide are organized by function:      Entering  Sedt,
  348.     inserting text, moving, etc..  The reference section is organized
  349.     alphabetically for easy access.
  350.  
  351.         For  the operating environments that differ significantly
  352.     from  the  standard,  command  driven  interface, the manual  has
  353.     sections that describes the differences.
  354.  
  355.     0.1              Terminology
  356.  
  357.         Sedt  is  supported  on  a wide range of systems  with    a
  358.     variety  of  keyboard  layouts.  When the manual instructs you to
  359.     type  a key it will use a generic  name  for  the  key,  such  as
  360.     <Return>.  Use the tables in Appendix A to  locate  where the key
  361.     is located on your keyboard.  The angle brackets are also used to
  362.     show where an actual parameter needs to be inserted.  E.g.   when
  363.     you see <line number> you should substitute a decimal number that
  364.     denotes a  line  in  your  file.  A construct surrounded by curly
  365.     brackets {} is    optional.    If  a construct is followed by three
  366.     periods ... it can be repeated as many times as you wish.
  367.  
  368.         A keystroke sequence described as <Gold> <Key> is entered
  369.     by typing the <Gold> key first,  then  releasing  it  and  typing
  370.     <Key>.      A sequence described as <Control>  <Key>  is    typed  by
  371.     holding down the <Control> key while <Key> is typed.
  372.  
  373.         The <Gold> key    is  the  most  important key to remember.
  374.     It's location on the  different  keyboards that Sedt supports is:
  375.     Keypad PF1 on Digital keyboards,  Esc  or  Num Lock on old IBM PC
  376.     keyboards  or  the  new  IBM  PC  keyboard,    Esc   on  old  IBM
  377.     PC/AT keyboards and Keypad ( on ATARI ST keyboards.
  378.     
  379.     Copyright (c) Anker Berg-Sonne, 1985-1989
  380.     Sedt Version 4.0 (254)
  381.  
  382.  
  383.                     Tutorial
  384.  
  385.     1.0             Getting Started
  386.  
  387.         To start  editing  a  file with Sedt you type the command
  388.     "Sedt <file name>"  at    the operating system command prompt.  The
  389.     same command is used to create a new file and to edit an existing
  390.     file.
  391.  
  392.     For example:
  393.  
  394.         SEDT FOO.BAR
  395.  
  396.         will create a new file named FOO.BAR, or modify  the file
  397.     if it already exists.
  398.     1.1                 Display
  399.  
  400.         The Sedt screen  display show a section, called a window,
  401.     of the file you  are  editing.      What    you  see  is what will be
  402.     written to the file.   Editors    of  this  type are called WYSIWYG
  403.     (What You See Is What You  Get)  editors.    Above  and below the
  404.     window is  displayed  information  about the edit session and the
  405.     settings of options.
  406.  
  407.         The first  line on the display , the FILE line, gives you
  408.     information about the file you currently are editing.
  409.  
  410.             In the    first column you may see an asterisk (*).
  411.         This shows that  you  have modified the file since it was
  412.         loaded, or since last time it was saved by you.
  413.  
  414.             Next Sedt shows the name of the file being edited
  415.         after the text "File:  ".    The name is exactly the same
  416.         as the one you entered when you called Sedt.
  417.  
  418.             After the  text  "C="  you  will  see  the column
  419.         within the text  that the cursor is placed over.  On some
  420.         versions the column number  is    not shown for performance
  421.         reasons.
  422.  
  423.             The text "L=" is followed  by  the  absolute line
  424.         number within the text being edited  that  the    cursor is
  425.         placed on.
  426.  
  427.             The next field, after the text "B="  shows  which
  428.         of   several  possible    file  buffers  you  are  editing.
  429.         Buffers allow you to edit several files at the same time.
  430.         To  begin  with, Sedt will always display buffer number 0
  431.         containing the    file  you specified when you called Sedt.
  432.         More information about    buffers  is  given  later in this
  433.         manual.
  434.     
  435.             On  IBM  PCs, PS/2s and compatibles a C  will  be
  436.         displayed  in  the  last  column if the Caps Lock  is  in
  437.         effect.
  438.  
  439.         The second line  of  the  display is the RULER.  It shows
  440.     how the text you  are  editing will be formatted.  You can change
  441.     the ruler a number of  ways.  The ruler shown when you enter Sedt
  442.     is the DEFAULT RULER, which most  often  is the one supplied with
  443.     Sedt.  You, or your system manager  may  change the default ruler
  444.     or any other ruler stored on disk.
  445.  
  446.         All lines from the third to the third from the bottom are
  447.     a WINDOW into the file    you  are editing.  In the window you will
  448.     see a portion of the text  you    are editing.  The location of the
  449.     blinking cursor shows the position that editing  operations  will
  450.     be performed at.
  451.  
  452.         The second line  from  the  bottom  is    the MODE line and
  453.     shows you the current state of several options within  Sedt.  All
  454.     of these options are under your control.
  455.  
  456.             First,    you  will  see    either    "Fwd"  or  "Rev".
  457.         Several  commands  use    the status of this mode and  will
  458.         move  toward  the beginning of the text when the mode  is
  459.         "Rev"  and  toward  the  end of the text when the mode is
  460.         "Fwd".
  461.  
  462.             Secondly  you will see either "Ins" or "Rep".  In
  463.         "Ins" mode, which Sedt starts the  session  in,  all text
  464.         insertion will push the character at the  cursor  to  the
  465.         right to make room for the new character.  In  "Rep" mode
  466.         the  text you type will over-write the text previously on
  467.         the screen.
  468.  
  469.             The "Lin" or "Blk" display  show how text cut and
  470.         paste  operations  will be performed.    More  information
  471.         about this mode is given in the  section dealing with cut
  472.         and paste.
  473.  
  474.             "Tab:Exp"  or     "Tab:Ins"   shows  whether  Sedt
  475.         attempts to save  file    space by inserting horizontal tab
  476.         characters.  Sedt assumes  that  the terminal and printer
  477.         have  tab  stops  set  at    8     column  intervals.    In
  478.         "Tab:Exp"  mode, which is  the    state  Sedt  is  in  when
  479.         started,  it  does  not use  horizontal  tab  characters.
  480.         Several  replace  mode functions and cut  and  paste  may
  481.         return    undesired results when "Tab:Ins" is used.  It  is
  482.         recommended that you  keep  Sedt in "Tab:Exp" mode unless
  483.         you are an experienced user of Sedt.
  484.     
  485.             "Case:Off" or "Case:On" shows    whether  searches
  486.         are case  sensitive or not.  When "Case:Off" text will be
  487.         satisfy searches no  matter  what  case  any  letter has.
  488.         With "Case:On" only exact matches in upper and lower case
  489.         will satisfy a search.
  490.                 
  491.                         "Chr" or "Def" shows whether function definitions
  492.                 are inserted in  responses  to  prompts.    When "Chr" is
  493.                 displayed only characters created  by  keys are inserted.
  494.                 When "Def" is displayed pressing a key with an associated
  495.                 function  definition will cause the function  definitions
  496.                 to be inserted.
  497.  
  498.             "Shift=" is followed by either    a  number  or the
  499.         text "Off".  When "Shift="  is    followed  by a number the
  500.         screen window will be shifted horizontally to ensure that
  501.         the  cursor  remains within the window.   As  the  cursor
  502.         advances  beyond  the  right-most position on the screen,
  503.         the  window  will  be displaced right to move the  cursor
  504.         back within the screen.  When the text "Off" is displayed
  505.         the leftmost  position    of  the window will correspond to
  506.         the leftmost position of the text.
  507.  
  508.         The next  field  is  blank  unless  keystrokes    are being
  509.         learned  or replayed.     When  learning  the  field  will
  510.         display  "Lrn".   When    replaying    it  will  display
  511.         "Exe".
  512.  
  513.         The  field  "Mod="  is    followed by the  numbers  of  the
  514.         editing buffers that contain unsaved changes.
  515.  
  516.     1.2            Moving the cursor
  517.  
  518.         The simplest commands to move the  cursor  are    the arrow
  519.     keys.
  520.  
  521.             The <Right arrow> key will advance  the cursor by
  522.         one character in the text.  As the cursor advances beyond
  523.         the last character on a line it moves to the start of the
  524.         next line.
  525.  
  526.             The  <Left arrow> key moves  a    single    character
  527.         toward the  start  of the text.  As the cursor moves past
  528.         the start of  a  line  it goes to the end of the previous
  529.         line.
  530.  
  531.             The <Up  arrow>  key  moves  straight up.  If the
  532.         cursor moves from a position that is further to the right
  533.         than the end of the previous line it will move to the end
  534.         of  it.   Sedt remembers the  column  that  a  series  of
  535.         vertical  arrow  commands  started  at    and will  try  to
  536.         position the cursor at the original column.
  537.  
  538.             <Down  arrow>  moves  the  cursor  straight down.
  539.         Just  as  with    <Up arrow> the cursor will  not  position
  540.         itself further right than the end of a line  of  text and
  541.         will try to position itself at the same column as  it was
  542.         at when a series of vertical arrow commands were started.
  543.  
  544.         The  arrow  keys  are  all  that you need to move to  any
  545.     location in the text.  On most systems you can hold the  key down
  546.     and  have  the    command repeated at a high rate.  Sedt can handle
  547.     very high  rates  of command input and cannot be harmed by having
  548.     commands repeated.
  549.  
  550.     1.3             Inserting Text
  551.  
  552.         Inserting text is  easy  with  Sedt.    Simply    place the
  553.     cursor where you want  the first character and type the text.  If
  554.     there are characters over or to the right of the cursor they will
  555.     be pushed to the right as  you    type.  To end a line of input and
  556.     continue on the next line simply type a <Return>.   You can enter
  557.     an arbitrary ASCII character by typing <Gold>, then  the  decimal
  558.     value of the character on the normal typewriter keyboard and then
  559.     <Gold> and finally <Keypad 3>.
  560.  
  561.     1.4              Deleting Text
  562.  
  563.         Text is easily deleted by moving the  cursor to the right
  564.     of the character you want to delete and  typing the <Delete> key.
  565.     If the cursor is  at  the  far left of a line it will be moved to
  566.     the end of the previous line.
  567.  
  568.     1.5               Saving your changes
  569.  
  570.         When you have finished your  changes  you  can    save them
  571.     and leave Sedt by typing two keys after one another:   <Gold> and
  572.     the F key.
  573.  
  574.         If you decide not to keep the changes you can type <Gold>
  575.     and Q.    If you have made any changes to  the  file  you  will  be
  576.     asked  for confirmation before    your  changes  are  thrown  away.
  577.     Answer the affirmative if you are sure you do not need them.
  578.  
  579.         If, for  some  reason such as a power failure, you cannot
  580.     complete an editing  session,  there is still hope.  Sedt will at
  581.     regular intervals save the file you are editing.  These saves are
  582.     only done if you have made changes to the file.
  583.  
  584.     1.6                 Summary
  585.  
  586.         With the commands  described in the tutorial you can make
  587.     any change you need!    Therein  lies  the beauty of Sedt.  It is
  588.     extremely easy to use, fast  and  reliable.    The  rest  of  the
  589.     commands extend Sedt by allowing you  to  perform  complex  tasks
  590.     with  a  few simple keystrokes.  The  Advanced    Guide  takes  you
  591.     through all these powerful features.
  592.  
  593.     1.7               Limitations
  594.  
  595.         Sedt uses  a combination of RAM memory and disk memory to
  596.     store the information  it  is  working    on.   This includes files
  597.     being edited, current key  definitions    and  text  that  has been
  598.     deleted.  If the total    amount    of  information exceeds available
  599.     memory Sedt will abort, but  will  leave  the a chekpoint file if
  600.     autosave  has  been in effect.     You  can  then  make  more  room
  601.     available and restart the edit session and  load  the  checkpoint
  602.     file.
  603.  
  604.         Sedt also has an internal limit which cannot be exceeded.
  605.     If  you crash because this limit has been exceeded and    you  have
  606.     been  editing  several    buffers,  you  may  be able to recover by
  607.     editing each file separately.
  608.  
  609.         The internal limits  are  20MB for the VMS and VAX ULTRIX
  610.     versions and 1MB for  all  other  versions.    These are defaults
  611.     which can be extended with the -s qualifier.
  612.     
  613.     Copyright (c) Anker Berg-Sonne, 1985-1989
  614.     Sedt Version 4.0 (254)
  615.  
  616.  
  617.                  Advanced Guide
  618.  
  619.     2.1              Introduction
  620.  
  621.         The Advanced Guide attempts to take you logically through
  622.     the  extremely rich command set of Sedt.  Even    though    care  has
  623.     been  taken  not to mention features without describing them, you
  624.     may find  that    you  have  to  cross-reference different sections
  625.     before you fully understand a feature.    The Reference section may
  626.     come in very useful for this purpose.
  627.  
  628.     2.2              Entering Sedt
  629.  
  630.         The complete syntax for calling Sedt is
  631.  
  632.     SEDT {<Input File> {<Output file>}} {<Option>... }
  633.  
  634.         The input file will be loaded into buffer number 0, which
  635.     is  the  editing  buffer  at  start-up.  If  an  output  file  is
  636.     specified,  buffer  0  will be saved into the specified  file  by
  637.     default.
  638.  
  639.         Options  change the behavior of  Sedt  for  the  complete
  640.     editing session. A complete list of options follows:
  641.  
  642.     2.2.1        -<Line Number>
  643.                 After initialization Sedt  will  position
  644.                 the  cursor  at the  start  of    the  line
  645.                 number    you provided.  This  function  is
  646.                 most useful for programmers that need  to
  647.                 go to a line number that the compiler has
  648.                 passed a syntax error message for.
  649.  
  650.     2.2.2        -a
  651.                 Turns  autosaves  on  for    the  editing
  652.                 session.    Autosaves  ensures that  your
  653.                 file  is  saved  at regular intervals  in
  654.                 case of a system crash.  Autosaved copies
  655.                 are stored in  files  with  the extension
  656.                 .AUS.
  657.  
  658.     2.2.3        -at
  659.                 Suppresses  Sedt's automatic  recognition
  660.                 of the system and  makes Sedt assume that
  661.                 it is  running    on  an IBM AT with the AT
  662.                 keyboard.  Use    this when the recognition
  663.                 code  fails  to  recognize    the  system
  664.                 properly.
  665.  
  666.     2.2.4        -b
  667.                 Suppresses the renaming  of  old versions
  668.                 when files are saved.     By  default Sedt
  669.                 will rename any existing file  to .BAK on
  670.                 the  MS-DOS  and  ATARI  versions  before
  671.                 writing the new version.  This allows you
  672.                 to recover  from  editing  sessions where
  673.                 you have accidentally corrupted the file.
  674.                 On VMS there is  no  need  for .BAK files
  675.                 since  VMS  supports multiple generations
  676.                 of files.  Normally -b is  used when disk
  677.                 space is too tight for both the  new file
  678.                 and the backup.
  679.  
  680.     2.2.5        -co
  681.                 Suppresses  Sedt's automatic  recognition
  682.                 of the system and  makes Sedt assume that
  683.                 it is running on  a  color  system.   Use
  684.                 this when the recognition code    fails  to
  685.                 recognize the system properly.
  686.  
  687.     2.2.6        -e
  688.                 Terminate all files written with an ASCII
  689.                 SUB character.    Some applications require
  690.                 a SUB character to recognize the  end  of
  691.                 data files.
  692.  
  693.     2.2.7        -edt
  694.                 Use the EDT layout with  physical mapping
  695.                 to the LK250 keyboard.      This    switch is
  696.                 not applicable to VMS.
  697.  
  698.     2.2.8        -ega
  699.                 Switch the display into  EGA 43 line mode
  700.                 during the session and switch  back  into
  701.                 25 line mode at the end.
  702.  
  703.     2.2.9        -f
  704.                 Disables full screen editing.  The cursor
  705.                 will always  be  placed  in the middle of
  706.                 the window and    text will move around it.
  707.                 In  full screen mode the cursor will move
  708.                 around    the   window  in  a  manner  that
  709.                 minimizes screen updates.
  710.  
  711.     2.2.10        -i<File Name>
  712.                 Read  internal    Sedt  commands    from  the
  713.                 given  file  after    initialization  and
  714.                 before accepting keyboard input.    Using
  715.                 the    -i    option   prevents    automatic
  716.                 execution  of  the default initialization
  717.                 file.
  718.  
  719.     2.2.11        -k
  720.                 Suppresses Sedt's  automatic  recognition
  721.                 of the keyboard  type  and  informs  Sedt
  722.                 that the system  uses  the  enhanced  IBM
  723.                 keyboard.
  724.     
  725.             -k<type>    
  726.                 Suppresses Sedt's  automatic  recognition
  727.                 of the keyboard  and  forces  Sedt to use
  728.                 <type> as the prefix for keyboard map and
  729.                 help files.
  730.  
  731.     2.2.12        -l<Size>
  732.                 Limits    the  main   memory  buffering  of
  733.                 information to <Size> bytes.  This option
  734.                 is  used  to ensure that enough memory is
  735.                 left  over  to    spawn    sub-processes  on
  736.                 MS-DOS    systems.    This  option  has  no
  737.                 effect        on      other    than    MS-DOS
  738.                 implementations.
  739.  
  740.     2.2.13        -m<Hex number>
  741.                 Changes the  video mode of Sedt under DOS
  742.                 to <Hex number>.    Sedt  understands the
  743.                 following video modes and sets the screen
  744.                 size and type as follows:
  745.     
  746.                 Mode    Color    Columns Lines
  747.     
  748.                 0    Color    40    25
  749.                 1    Color    40    25
  750.                 2    Color    80    25
  751.                 3    Color    80    25
  752.                 7    Mono    80    25
  753.     
  754.                 54    Color    132    43
  755.                 55    Color    132    25
  756.                 56    Mono    132    43
  757.                 57    Mono    132    25
  758.  
  759.     2.2.14        -mo
  760.                 Suppresses  Sedt's automatic  recognition
  761.                 of the system and  makes Sedt assume that
  762.                 it is  running    on  a  monochrome system.
  763.                 Use this when  the recognition code fails
  764.                 to recognize the system properly.
  765.  
  766.     2.2.15        -p<PID>
  767.                 Informs  Sedt  of the Process ID  of  the
  768.                 parent process.  This option is only used
  769.                 on the VMS version of Sedt and creates    a
  770.                 resident version  of  Sedt.  On exit Sedt
  771.                 will attach to    the  parent  process  and
  772.                 remain resident.  Upon    reattachment Sedt
  773.                 will continue the editing session.
  774.  
  775.     2.2.16        -pc
  776.                 Suppresses  Sedt's automatic  recognition
  777.                 of the system and  makes Sedt assume that
  778.                 it is running on an IBM PC with the PC or
  779.                 XT    keyboard.    Use    this  when    the
  780.                 recognition  code  fails to recognize the
  781.                 system properly.
  782.  
  783.     2.2.17        -r
  784.                 When you  supply  the  -r  qualifier  all
  785.                 files written to  disk will have the last
  786.                 line  terminated  with    an    ASCII    CR
  787.                 character.  Use this when you are writing
  788.                 or editing a file for an application that
  789.                 requires this.
  790.  
  791.     2.2.18        -rb
  792.                 Suppresses  Sedt's automatic  recognition
  793.                 of the system and  makes Sedt assume that
  794.                 it is running on a  Digital  Rainbow 100.
  795.                 Use this when the recognition code fails
  796.                 to recognize the system properly.
  797.  
  798.     2.2.19        -ro
  799.                 Set the  buffer  that  the file is loaded
  800.                 into in read only mode.
  801.     
  802.     2.2.20        -s<Size>
  803.                 Set the maximum amount of buffer space to
  804.                 <Size> megabytes.   The  buffer  space is
  805.                 used  to  contain  files   being  edited,
  806.                 delete     and  paste  buffers  plus    key
  807.                 definitions.
  808.  
  809.     2.2.21        -v
  810.                 On IBM PCs and compatibles -v is used  to
  811.                 instruct Sedt  to  access  the    video RAM
  812.                 directly.  The result is a faster display
  813.                 than when the video  firmware  calls  are
  814.                 used.  It may, however,  be  incompatible
  815.                 with some video adaptors.
  816.  
  817.     2.2.22        -wi
  818.                 Use the window defined    by the upper left
  819.                 hand  corner  with  coordinates  XX,YY (0
  820.                 based) and dimensions HH,WW.
  821.     
  822.     2.2.23        -wps
  823.                 Use the WPS layout with physical  mapping
  824.                 to the LK250 keyboard.      This    switch is
  825.                 not applicable to VMS.
  826.  
  827.     2.2.24        -xt
  828.                 Suppresses  Sedt's automatic  recognition
  829.                 of the system and  makes Sedt assume that
  830.                 it is running on an IBM XT with the PC or
  831.                 XT  keyboard.       Use      this    when  the
  832.                 recognition code fails to  recognize  the
  833.                 system properly.
  834.  
  835.     2.3               Sedt's Data Files
  836.  
  837.         For Sedt to function properly it needs a  number  of data
  838.     files.      To  help organize the files Sedt uses  the  concept  of
  839.     libraries where the operating system supports such a facility.
  840.  
  841.         The files used by Sedt are:
  842.  
  843.             An optional  configuration file that sedt uses to
  844.             set  various  options.      The     name     of   the
  845.             configuration file is always SEDT.CNF.
  846.             
  847.             A  keyboard  map  file    that  determines  key  to
  848.             function mapping.
  849.  
  850.             A  function  definition  file  that  defines  all
  851.             predefined functions.  
  852.  
  853.             A Help file that can  displayed during an editing
  854.             session  to  assist the user in  remembering  the
  855.             programming of the keyboard.
  856.     
  857.             A file    containing  a  graphical  display  of the
  858.             keyboard commands.
  859.  
  860.             A  default  ruler file that is used  to  set  the
  861.             ruler at initialization time.
  862.  
  863.             A set of optional ruler files that can    be loaded
  864.             or saved during an editing session.
  865.  
  866.             An optional  command file that is executed during
  867.             Sedt  initialization  for  customization  of  the
  868.             editing interface.
  869.     
  870.         On  MS-DOS,  OS/2, ATARI ST, and UNIX the data files  are
  871.     located  through  a combination of the default directory, and the
  872.     environment variables SEDT, SEDTP, and PATH.    Key map, function
  873.     definition and help files are looked for  in the following order:
  874.     default  directory,  the  directory  that  SEDTP  points to,  the
  875.     directory  SEDT points to and finally in all directories  pointed
  876.     by PATH.    Ruler  files,  SEDTCOM.TXT,  SEDT.REM,  user supplied
  877.     initialization files are  looked  for  in  the    order:      default
  878.     directory, the directory SEDTP    points    to,  the  directory  SEDT
  879.     points to and finally in  all  directories  pointed  to  by PATH.
  880.     SEDT and SEDTP must be defined    as  a  single directory as in SET
  881.     SEDT=C:\SEDT\.      This    scheme    allow  a lot  of  flexibility  in
  882.     organizing  Sedt's  files.    On  single  user systems    the  most
  883.     efficient  is  to  define  SEDT  only.    On multiuser  systems  or
  884.     networks  SEDT    can  be set up to point at a  shared,  read  only
  885.     directory  and    SEDTP  at  a  private  writable directory that is
  886.     different for every user.  The easiest, but least efficient is to
  887.     install Sedt in a directory that is included in PATH.
  888.  
  889.         The names of the files    under MS-DOS, OS/2, ATARI ST, and
  890.     UNIX depend on the configuration.   This  facilitates  using SEDT
  891.     from a shared server directory with different PC models.
  892.  
  893.         The configuration file is always named SEDT.CNF.
  894.  
  895.         The function definition file names are:
  896.     
  897.             FUNDEF.EDT for EDT style editing
  898.             FUNDEF.WPS for WPS style editing
  899.     
  900.         Key mapping files are:
  901.     
  902.             For VMS:
  903.     
  904.                 VAX/VMS VT100    SEDT$VT1XXKEYS:
  905.                 VAX/VMS VT200    SEDT$VT2XXKEYS:
  906.     
  907.             For UNIX:
  908.  
  909.                 UNIX    VT100    vt100.key
  910.                 UNIX    VT200    vt200.key
  911.                 SCO XENIX
  912.                     console ansi.key
  913.     
  914.             On DOS, OS/2 and ATARI:
  915.  
  916.             System        Keyboard    File
  917.  
  918.             Rainbow     LK201        RBxxxM.yyy
  919.             IBM PC        IBM        PCxxxM.yyy
  920.             IBM PC/XT    IBM        PCxxxM.yyy
  921.             IBM PC/AT    IBM        ATxxxM.yyy
  922.             IBM CONVERTIBLE IBM        CVxxxM.yyy
  923.             PS/2        IBM        NPxxxM.yyy
  924.             ANY IBM PC    ENHANCED    NPxxxM.yyy
  925.             ANY IBM PC    LK250        LKxxxM.yyy
  926.             TANDY 1400 LT    TANDY        TCxxxM.yyy
  927.             Compaq SLT    Compact     SLTxxxM.yyy
  928.             ATARI ST            STxxxM.yyy
  929.     
  930.             Where xxx is  DOS  for    MS/DOS, WIN for Microsoft
  931.             Windows, OS2 for OS/2  and  TOS for ATARI TOS and
  932.             GEM.  yyy is EDT  for  EDT  style mapping and WPS
  933.             for WPS style mapping.
  934.     
  935.         The name of the help file is:
  936.     
  937.             HELP.EDT for EDT style editing
  938.             HELP.WPS for WPS style editing
  939.  
  940.         The names of the graphical keyboard display files are:
  941.  
  942.             System        Keyboard    File
  943.  
  944.             Rainbow     LK201        RBxxxH.yyy
  945.             IBM PC        IBM        PCxxxH.yyy
  946.             IBM PC/XT    IBM        PCxxxH.yyy
  947.             IBM PC/AT    IBM        ATxxxH.yyy
  948.             IBM CONVERTIBLE IBM        CVxxxH.yyy
  949.             PS/2        IBM        NPxxxH.yyy
  950.             ANY IBM PC    ENHANCED    NPxxxH.yyy
  951.             ANY IBM PC    LK250        LKxxxH.yyy
  952.             TANDY 1400 LT    TANDY        TCxxxH.yyy
  953.             Compaq SLT    Compact     SLTxxxH.yyy
  954.             VAX/VMS     VT100        SEDT$VT100HELP:
  955.             VAX/VMS     VT200        SEDT$VT200HELP:
  956.             ATARI ST            STxxxH.yyy
  957.             UNIX        VT100        vt100.hlp
  958.             UNIX        VT200        vt200.hlp
  959.             SCO XENIX    console     ansi.hlp
  960.  
  961.             Where xxx is  DOS  for    MS/DOS, WIN for Microsoft
  962.             Windows, OS2 for OS/2  and  TOS for ATARI TOS and
  963.             GEM.  yyy is EDT  for  EDT  style mapping and WPS
  964.             for WPS style mapping.
  965.  
  966.         The MS-DOS initialization file    is  named SEDTCOM.TXT and
  967.     must be located in the    directory  pointed  to by the environment
  968.     variable SEDT.
  969.  
  970.         On  VMS  the  ruler  files  are located in the    directory
  971.     pointed to by the logical name SEDT$DIR:.
  972.  
  973.         The  key definition files  are    located  by  the  logical
  974.     names:
  975.             System        Keyboard    File
  976.  
  977.             VAX/VMS     VT100        SEDT$VT100KEYS:
  978.             VAX/VMS     VT200        SEDT$VT200KEYS:
  979.  
  980.         The  help definition files are    located  by  the  logical
  981.     names:
  982.             System        Keyboard    File
  983.  
  984.             VAX/VMS     VT100        SEDT$VT1XXHELP:
  985.             VAX/VMS     VT200        SEDT$VT2XXHELP:
  986.  
  987.         The initialization command file is located by the logical
  988.     name SEDT$COMMANDS:
  989.  
  990.         On the ATARI ST  under ATARI GEM all files must be in the
  991.     current directory.
  992.  
  993.         On  the  ATARI ST under the Mark  Williams  C  shell  the
  994.     library  for  all  data  files used by Sedt  is  defined  by  the
  995.     environment  variable  SEDT.    The  contents  of the environment
  996.     variable has  the  name of the data file appended to it to locate
  997.     the data file.      If no environment variable is defined the files
  998.     must  be  found  in  the  default  directory.     To  set  up  the
  999.     environment use the SET command.   SETENV SEDT=C:\SEDT\ specifies
  1000.     that the files are found in the directory SEDT on drive C.
  1001.  
  1002.         The names are:
  1003.  
  1004.         Key mapping file:    STTOSM.yyy
  1005.         Key definition file:    FUNDEF.yyy
  1006.         Help file:        HELP.yyy
  1007.         Keyboard display file:    STTOSH.yyy
  1008.         Initialization file:    SEDTCOM.TXT
  1009.  
  1010.         Where yyy is EDT for EDT style mapping    and  WPS  for WPS
  1011.         style mapping.
  1012.  
  1013.         The names of the ruler files  are RULERn.TXT where n is a
  1014.     digit from 0 to 9.  RULER0.TXT    is  the  default ruler file.  The
  1015.     initialization command file is named SEDTCOM.TXT.
  1016.  
  1017.     2.3.1            Configuration File
  1018.  
  1019.         The configuration file, SEDT.CNF, is an  ASCII    data file
  1020.     containing one-line commands.  Valid commands are:
  1021.  
  1022.     2.3.1.1     AUTOSAVE=ON (Default)
  1023.  
  1024.                 After any  change  to  a buffer Sedt will
  1025.                 count the keystrokes  made  while editing
  1026.                 the  buffer.    After  180  keystrokes    a
  1027.                 warning will be displayed on the bottom
  1028.                 line.    If the File has  not  been  saved
  1029.                 after    200  keystrokes,  Sedt    saves  it
  1030.                 automatically  in  a  file  in    the  same
  1031.                 directory  as the file being edited,  but
  1032.                 with  the  extension .AUS.  The autosaved
  1033.                 version is automatically deleted when the
  1034.                 file is properly  saved.  If an autosaved
  1035.                 file is found when  a  file is loaded you
  1036.                 will be asked whether you  want  to  load
  1037.                 the autosave instead.  If you provide the
  1038.                 wrong  answer to this question reload the
  1039.                 file.
  1040.  
  1041.             AUTOSAVE=n,m
  1042.  
  1043.                 Will  autosave    after  n  keystrokes  and
  1044.                 display the warning  m    keystrokes before
  1045.                 the autosave is due.
  1046.  
  1047.             AUTOSAVE=OFF
  1048.  
  1049.                 Autosaving is disabled.
  1050.  
  1051.     2.3.1.2     BACKUPFILE=ON (Default)
  1052.  
  1053.                 Causes    Sedt  to  ensure  that    a  backup
  1054.                 version of all files are kept.
  1055.  
  1056.             BACKUPFILE=OFF
  1057.  
  1058.                 Causes Sedt to not create backup versions
  1059.                 of saved files.
  1060.     
  1061.     2.3.1.3     BUFFERING=EMS (default)
  1062.     
  1063.                 On  MS-DOS files  being  edited  will  be
  1064.                 buffered in EMS memory before overflowing
  1065.                 to free DOS memory and disk.
  1066.     
  1067.             BUFFERING=NOEMS
  1068.     
  1069.                 EMS memory will not be used for buffering
  1070.                 of files.
  1071.     
  1072.             BUFFERING=FREE (default)
  1073.     
  1074.                 On  MS-DOS  files  being  edited will  be
  1075.                 buffered    in    free  DOS  memory  before
  1076.                 overflowing to disk.  You may not be able
  1077.                 to spawn to  DOS when editing large files
  1078.                 when this option is set.
  1079.     
  1080.             BUFFERING=NOFREE
  1081.     
  1082.                 Free  DOS memory will  not  be    used  for
  1083.                 buffering of files.  This  preserves  the
  1084.                 ability  to  spawn out of Sedt,  but  may
  1085.                 impact performance.
  1086.     
  1087.     2.3.1.4     COLUMN=DISPLAYED (Default, except VMS and ULTRIX)
  1088.  
  1089.                 Enables continuous display of the current
  1090.                 cursor    column on the banner line.   This
  1091.                 is the default on all versions other than
  1092.                 VMS and  ULTRIX.  Enabling this option on
  1093.                 VMS and ULTRIX    may  have  a  significant
  1094.                 impact on performance across a network.
  1095.  
  1096.             COLUMN=OFF (Default for VMS and ULTRIX)
  1097.  
  1098.                 Disables   continuous  display    of    the
  1099.                 current cursor column on the banner line.
  1100.                 This is the default on VMS and ULTRIX.
  1101.  
  1102.     2.3.1.5     CONTEXT=SAVED
  1103.  
  1104.                 Save the editing context when a  file  is
  1105.                 saved.       The    context,  containing  the
  1106.                 current  position,  all   marks  and  the
  1107.                 current ruler are saved  in  a    file with
  1108.                 the  same  file  name and  the    extension
  1109.                 .CTX.  When Sedt edits a  file,  and this
  1110.                 option is set, it will look for  the file
  1111.                 .CTX and restore the context.  The result
  1112.                 is  that when a file is edited again  the
  1113.                 cursor and  marks  from the previous edit
  1114.                 session will be restored.
  1115.  
  1116.                 If  you  have  two   files  in    the  same
  1117.                 directory  with identical filenames, they
  1118.                 will  default to the same .CTX    file  and
  1119.                 the  .CTX file may be overwritten by  the
  1120.                 .CTX   file  for  the  other  file.    To
  1121.                 safeguard against  loading the wrong file
  1122.                 Sedt will verify  that    a  file  and it's
  1123.                 corresponding  .CTX  file match.    If    a
  1124.                 mismatch  is  found the message  "Context
  1125.                 file does not match input file"  will  be
  1126.                 issued.
  1127.  
  1128.             CONTEXT=FORGOTTEN (Default)
  1129.  
  1130.                 To  not  perform  the  actions    described
  1131.                 under CONTEXT=SAVED.
  1132.  
  1133.             CONTEXT=CHECK
  1134.  
  1135.                 Do  not    save  a  context  (.CTX)  file
  1136.                 automatically, but check for the presence
  1137.                 of one when loading  a file and use it of
  1138.                 it is found.
  1139.  
  1140.     2.3.1.6     CONTROLZ=ON
  1141.  
  1142.                 Causes    Sedt  to  terminate  all    files
  1143.                 written with a control Z (EOT) character.
  1144.  
  1145.             CONTROLZ=OFF (Default)
  1146.  
  1147.                 Causes      Sedt    to  not  terminate  files
  1148.                 written with a control Z (EOT) character.
  1149.  
  1150.     2.3.1.7     CURSORLINE=FIXED
  1151.  
  1152.                 Causes    Sedt  to  keep the cursor on  the
  1153.                 middle    line  of the editing window.  The
  1154.                 benefit is  ease  of  finding the current
  1155.                 position and always  being  able  to  see
  1156.                 several lines above and below the cursor.
  1157.  
  1158.             CURSORLINE=FLOATING (Default)
  1159.  
  1160.                 Causes Sedt to float  the  cursor through
  1161.                 the editing window.  The benefit is fewer
  1162.                 screen scrolls.
  1163.         
  1164.         2.3.1.8         DEFINITIONS=ON
  1165.  
  1166.                                 When  a  key  with an associated function
  1167.                                 definition  is  pressed  in response to a
  1168.                                 prompt the definition will be inserted.
  1169.         
  1170.                         DEFINITIONS=OFF (Default)
  1171.         
  1172.                                 When a  key  with  an associated function
  1173.                                 definition is pressed  in  response  to a
  1174.                                 prompt the character associated  with the
  1175.                                 key is inserted.
  1176.     
  1177.     2.3.1.8     DIALOG=ON
  1178.     
  1179.                 Windows and  GEM versions will use dialog
  1180.                 boxes  to prompt  for  input  instead  of
  1181.                 using the bottom line of the display.
  1182.     
  1183.             DIALOG=OFF
  1184.     
  1185.                 Windows  and GEM versions  will  use  the
  1186.                 bottom line of the display  to prompt for
  1187.                 input.
  1188.  
  1189.     2.3.1.9     EGA43=ON
  1190.  
  1191.                 Causes Sedt to switch the display into 43
  1192.                 line  mode.  Unpredictable results can be
  1193.                 expected on other than EGA displays.
  1194.  
  1195.             EGA43=OFF (Default)
  1196.  
  1197.                 Turns off 43 line mode.
  1198.  
  1199.     2.3.1.10    FONTSIZE=<number>
  1200.  
  1201.                 Causes Sedt  to default to a font that is
  1202.                 close to <number> pixels high.
  1203.  
  1204.     2.3.1.11    GOLD=<number>
  1205.  
  1206.                 Causes Sedt to    use function key <number>
  1207.                 as the gold key.
  1208.  
  1209.     2.3.1.12    JOURNALING
  1210.  
  1211.                 Has  no  effect in the current version of
  1212.                 Sedt and exists only for historic reasons.
  1213.  
  1214.     2.3.1.13    KEYBOARD=STANDARD
  1215.  
  1216.                 Forces Sedt  to  assume  that  the system
  1217.                 uses the original PC and XT keyboard.
  1218.  
  1219.             KEYBOARD=LK250
  1220.  
  1221.                 Forces Sedt to assume that the system has
  1222.                 an LK250 keyboard attached.
  1223.  
  1224.             KEYBOARD=NEW
  1225.             KEYBOARD=ENHANCED
  1226.  
  1227.                 Forces Sedt to assume that the system has
  1228.                 the new style IBM keyboard attached.
  1229.  
  1230.             KEYBOARD=CONVERTIBLE
  1231.  
  1232.                 Forces Sedt to assume that the system has
  1233.                 an  IBM  keyboard   convertible  keyboard
  1234.                 attached.
  1235.     
  1236.             KEYBOARD=AT
  1237.     
  1238.                 Forces    Sedt  to  assume that the  system
  1239.                 uses an original AT style keyboard.
  1240.     
  1241.             KEYBOARD=SLT
  1242.     
  1243.                 Forces    Sedt to assume    that  the  system
  1244.                 uses a Compaq SLT keyboard.
  1245.     
  1246.             KEYBOARD=<type>
  1247.     
  1248.                 Forces Sedt to use <type>  as  the prefix
  1249.                 for keyboard map and help files.
  1250.     
  1251.     2.3.1.14    KEYPROG=ON (Default)
  1252.     
  1253.                 Normal typewriter keys will behave as any
  1254.                 other key when    programmed.    If the key
  1255.                 has  not  been programmed  the    key  will
  1256.                 insert the ASCII character bound  to  the
  1257.                 key.
  1258.  
  1259.             KEYPROG=OFF
  1260.     
  1261.                 When a    normal    typewriter key is pressed
  1262.                 the ascii character  bound  to it will be
  1263.                 inserted  even    if  the    key    has  been
  1264.                 programmed.   Getting at the  programming
  1265.                 for  a    typewriter  key  must  be    done
  1266.                 indirectly through the :EK command.
  1267.     
  1268.     2.3.1.15    MAPPING=EDT (Default)
  1269.  
  1270.                 Use  .EDT    extensions    on    key  map,
  1271.                 definition and help  files  and  map  the
  1272.                 keys physically as close  as  possibly to
  1273.                 the LK250 keyboard.
  1274.  
  1275.             MAPPING=WPS
  1276.  
  1277.                 Use    .WPS   extensions  on  key    map,
  1278.                 definition  and  help  files and map  the
  1279.                 keys  physically  as close as possibly to
  1280.                 the LK250 keyboard.
  1281.  
  1282.     2.3.1.16    MAXSCROLL=<Number>
  1283.  
  1284.                 Limits    scrolling  during cursor movement
  1285.                 to <Number> lines.
  1286.  
  1287.     2.3.1.17    MODE=<Hex Number>
  1288.  
  1289.                 Use  video  mode  <Hex    Number>  on    PC
  1290.                 compatible systems.
  1291.  
  1292.                 Mode    Color    Columns Lines
  1293.     
  1294.                 0    Color    40    25
  1295.                 1    Color    40    25
  1296.                 2    Color    80    25
  1297.                 3    Color    80    25
  1298.                 7    Mono    80    25
  1299.     
  1300.                 54    Color    132    43
  1301.                 55    Color    132    25
  1302.                 56    Mono    132    43
  1303.                 57    Mono    132    25
  1304.  
  1305.     2.3.1.18    MOUSE=ENABLED (Default)
  1306.  
  1307.                 Enabled use of the mouse from Sedt.  Sedt
  1308.                 will  try  to  detect  the  presence of a
  1309.                 mouse  and  enable  the  use of the mouse
  1310.                 cursor.
  1311.  
  1312.             MOUSE=DISABLED
  1313.  
  1314.                 Sedt will  not    use a mouse even if it is
  1315.                 present.
  1316.  
  1317.     2.3.1.19    NUMLOCK=SET  (Default  if the  Num  Lock  key  is
  1318.                 mapped by the keyboard map file)
  1319.     
  1320.                 Saves  the  Num Lock state when  Sedt  is
  1321.                 entered and then  sets    it.  On exit from
  1322.                 Sed the Num Lock state is retored.
  1323.     
  1324.             NUMLOCK=CLEARED
  1325.     
  1326.                 Saves  the  Num  Lock  state when Sedt is
  1327.                 entered and then clears it.  On exit from
  1328.                 Sedt the Num Lock state is restored.
  1329.  
  1330.     2.3.1.20    PALETTE=<hex string>
  1331.  
  1332.                 Causes    Sedt to use the characters  given
  1333.                 in  <hex  string> as it's palette.   Each
  1334.                 pair  of    hex   digits  determines  the
  1335.                 attribute character as    defined  for  the
  1336.                 IBM Color Graphics Adapter.  The position
  1337.                 of  the  pair  defines    the  use  of  the
  1338.                 attribute character:  (Sedt only uses the
  1339.                 REVERSE and BOLD attributes).
  1340.  
  1341.                 NORMAL
  1342.                 BOLD
  1343.                 BLINK
  1344.                 BOLD BLINK
  1345.                 UNDERLINE
  1346.                 BOLD UNDERLINE
  1347.                 BLINK UNDERLINE
  1348.                 BOLD BLINK UNDERLINE
  1349.                 REVERSE
  1350.                 BOLD REVERSE
  1351.                 BLINK REVERSE
  1352.                 BOLD BLINK REVERSE
  1353.                 UNDERLINE REVERSE
  1354.                 BOLD UNDERLINE REVERSE
  1355.                 BLINK UNDERLINE REVERSE
  1356.                 BOLD BLINK UNDERLINE REVERSE
  1357.  
  1358.     2.3.1.21    REMEMBER=ON
  1359.  
  1360.                 Remember the filename  that Sedt last was
  1361.                 called with and use  this  filename  when
  1362.                 Sedt    is   called  without  any    file
  1363.                 arguments.
  1364.  
  1365.             REMEMBER=OFF (Default)
  1366.  
  1367.                 Do not    load any file when Sedt is called
  1368.                 without any file arguments.
  1369.  
  1370.     2.3.1.22    RETURN=ON
  1371.  
  1372.                 Causes Sedt to ensure that the last  line
  1373.                 of saved files is terminates with a CR/LF
  1374.                 pair.
  1375.  
  1376.             RETURN=OFF (Default)
  1377.  
  1378.                 Causes Sedt to not append a CR/LF pair to
  1379.                 the last line of saved files.
  1380.  
  1381.     2.3.1.23    RULER=ON (Default)
  1382.  
  1383.                 The current ruler  will  be  displayed at
  1384.                 the top of the window.
  1385.  
  1386.             RULER=OFF
  1387.  
  1388.                 No ruler will displayed unless Sedt is in
  1389.                 ruler definition mode.
  1390.  
  1391.     2.3.1.24    SCREEN=COLOR
  1392.  
  1393.                 Forces     Sedt  to  use    color     graphics
  1394.                 firmware calls.
  1395.  
  1396.             SCREEN=MONO
  1397.  
  1398.                 Forces    Sedt  to  use monochrome firmware
  1399.                 calls.
  1400.  
  1401.     2.3.1.25           SCREENSHIFT=ON (Default)
  1402.  
  1403.                 Enables horizontal shifting of the screen
  1404.                 to  keep  the cursor position  on-screen.
  1405.                 The screen is shifted a half-screen  at a
  1406.                 time.
  1407.  
  1408.             SCREENSHIFT=OFF
  1409.  
  1410.                 Disables  horizontal    shifting  of  the
  1411.                 screen.
  1412.     
  1413.             SCREENSHIFT=<decimal number>
  1414.     
  1415.                 Enables horizontal shifting of the screen
  1416.                 to keep the  cursor  position  on-screen.
  1417.                 The  number  of characters  shifted  each
  1418.                 time is given by <deciman number>.
  1419.                 
  1420.     2.3.1.26    SHAREMESSAGE=ON (Default)
  1421.     
  1422.                 When  exiting,     Sedt  prints  a  message
  1423.                 informing  the    operator  that    it  is    a
  1424.                 shareware program.
  1425.     
  1426.             SHAREMESSAGE=OFF
  1427.     
  1428.                 Suppresses the shareware message on exit.
  1429.  
  1430.     2.3.1.27    SYSTEM=IBMPC
  1431.  
  1432.                 Forces Sedt to    assume    that it's running
  1433.                 on an IBM PC or compatible.
  1434.  
  1435.             SYSTEM=IBMXT
  1436.  
  1437.                 Forces Sedt to assume  that  it's running
  1438.                 on an IBM PC/XT or compatible.
  1439.  
  1440.             SYSTEM=IBMAT
  1441.  
  1442.                 Forces Sedt to assume that  it's  running
  1443.                 on an IBM PC/AT or compatible.
  1444.  
  1445.             SYSTEM=VAXMATE
  1446.  
  1447.                 Forces    Sedt to assume that it's  running
  1448.                 on a Digital VAXmate.
  1449.  
  1450.             SYSTEM=PC100
  1451.  
  1452.                 Forces    Sedt  to assume that it's running
  1453.                 on a Digital Rainbow 100.
  1454.  
  1455.             SYSTEM=IBMCONVERTIBLE
  1456.  
  1457.                 Forces    Sedt  to assume that it's running
  1458.                 on an IBM Convertible.
  1459.  
  1460.             SYSTEM=IBMAT-339
  1461.  
  1462.                 Forces Sedt  to  assume that it's running
  1463.                 on an IBM PC AT model 339.
  1464.  
  1465.             SYSTEM=IBMXT-286
  1466.  
  1467.                 Forces Sedt to    assume    that it's running
  1468.                 on an IBM PC XT model 286.
  1469.  
  1470.             SYSTEM=PS/2-50
  1471.  
  1472.                 Forces Sedt to assume  that  it's running
  1473.                 on an IBM PS/2 model 50.
  1474.  
  1475.             SYSTEM=PS/2-60
  1476.  
  1477.                 Forces Sedt to assume that  it's  running
  1478.                 on an IBM PS/2 model 60.
  1479.  
  1480.             SYSTEM=IBMXT-II
  1481.  
  1482.                 Forces    Sedt to assume that it's  running
  1483.                 on an IBM XT with new firmware.
  1484.  
  1485.             SYSTEM=PS/2-30
  1486.  
  1487.                 Forces    Sedt  to assume that it's running
  1488.                 on an IBM PS/2 model 30.
  1489.  
  1490.             SYSTEM=PS/2-80
  1491.  
  1492.                 Forces    Sedt  to assume that it's running
  1493.                 on an IBM PS/2 model 80.
  1494.  
  1495.             SYSTEM=TANDY1400
  1496.  
  1497.                 Forces    Sedt  to assume that it's running
  1498.                 on a TANDY 1400 LT laptop computer.
  1499.     
  1500.             SYSTEM=VT100
  1501.             SYSTEM=VT200
  1502.             SYSTEM=VT300
  1503.             SYSTEM=VT52
  1504.             SYSTEM=VK100
  1505.             SYSTEM=ANSI
  1506.     
  1507.                 Forces Sedt  to  assume  it  is being run
  1508.                 from the specified terminal type.
  1509.  
  1510.     2.3.1.28    TABS=EXPANDED (Default)
  1511.  
  1512.                 Causes Sedt  to  use  space characters to
  1513.                 space to tab stops and indentation.
  1514.  
  1515.             TABS=INSERTED
  1516.  
  1517.                 Cases  Sedt  to    use      space  and  tab
  1518.                 characters  to    space to  tab  stops  and
  1519.                 indentation.
  1520.  
  1521.     2.3.1.29    VIDEO=BIOS (Default)
  1522.  
  1523.                 Makes  Sedt  use  BIOS    calls  for  video
  1524.                 control on IBM PCs and compatibles.
  1525.  
  1526.             VIDEO=DIRECT
  1527.  
  1528.                 Makes  Sedt access video RAM directly  on
  1529.                 IBM PCs and compatibles.
  1530.  
  1531.  
  1532.     2.4             Initialization
  1533.  
  1534.         The initialization sequence for Sedt will  go through the
  1535.     following steps:
  1536.  
  1537.             First the configuration file SEDT.CNF  in  Sedt's
  1538.         library is read and Sedt is  configured  as  described in
  1539.         the file.
  1540.  
  1541.             Then a    default  ruler    file  is read from Sedt's
  1542.         library.    The   name    of  the  default  ruler  file  is
  1543.         RULER0.TXT.
  1544.     
  1545.         On  DOS,  OS/2,  Microsoft  Windows  and  ATARI ST a  key
  1546.         mapping file is read next.  This file translates keyboard
  1547.         scan codes into function key codes. The file names are:
  1548.  
  1549.             System        Keyboard    File
  1550.  
  1551.             Rainbow     LK201        RBxxxM.yyy
  1552.             IBM PC        IBM        PCxxxM.yyy
  1553.             IBM PC/XT    IBM        PCxxxM.yyy
  1554.             IBM PC/AT    IBM        ATxxxM.yyy
  1555.             IBM CONVERTIBLE IBM        CVxxxM.yyy
  1556.             PS/2        IBM        NPxxxM.yyy
  1557.             ANY IBM PC    ENHANCED    NPxxxM.yyy
  1558.             ANY IBM PC    LK250        LKxxxM.yyy
  1559.             TANDY 1400 LT    TANDY        TCxxxM.yyy
  1560.             Compaq SLT    Compact     SLTxxxM.yyy
  1561.             ATARI ST            STxxxM.yyy
  1562.     
  1563.             Where yyy  is  EDT  for EDT style mapping and WPS
  1564.         for WPS style mapping.
  1565.     
  1566.             Next, the key definition file is read from Sedt's
  1567.         library.   The name of the key definition file depends on
  1568.         the system that Sedt is run on:
  1569.  
  1570.             System        Keyboard    File
  1571.  
  1572.             MS/DOS                KEYDEF.yyy
  1573.             Microsoft Windows        KEYDEF.yyy
  1574.             OS/2                KEYDEF.yyy
  1575.             ATARI ST            KEYDEF.yyy
  1576.             VAX        VT100        SEDT$VT100KEYS:
  1577.             VAX        VT200        SEDT$VT200KEYS:
  1578.             UNIX        VT100        vt100.key
  1579.             UNIX        VT200        vt200.key
  1580.             SCO XENIX    console     ansi.key
  1581.  
  1582.             Where yyy  is  EDT  for EDT style mapping and WPS
  1583.         for WPS style mapping.
  1584.     
  1585.             Next Sedt will position the cursor  at    the  line
  1586.         number requested in the command  line if a -<line number>
  1587.         qualifier was supplied.
  1588.  
  1589.             Then Sedt  will look in Sedt's library for a file
  1590.         containing initialization commands  for the editor.  If a
  1591.         file  is  found it's  contents    will  be  interpreted  as
  1592.         internal Sedt commands.  The  name  of the file is system
  1593.         dependent:
  1594.  
  1595.             System        File
  1596.  
  1597.             Rainbow     SEDTCOM.TXT
  1598.             IBM PC        SEDTCOM.TXT
  1599.             IBM PC/XT    SEDTCOM.TXT
  1600.             IBM PC/AT    SEDTCOM.TXT
  1601.             IBM CONVERTIBLE SEDTCOM.TXT
  1602.             PS/2        SEDTCOM.TXT
  1603.             VAX        SEDT$COMMANDS:
  1604.             VAX        SEDT$COMMANDS:
  1605.             ATARI ST    SEDTCOM.TXT
  1606.             UNIX        SEDTCOM.TXT
  1607.  
  1608.             Finally, Sedt  will look for a checkpoint file in
  1609.         the same directory  as    the file you are editing and with
  1610.         the same name except  for  the extension .AUS.    If one is
  1611.         found, Sedt will ask you whether you  want  to    load  the
  1612.         checkpoint file instead.
  1613.  
  1614.     2.5              Setting up the ruler
  1615.  
  1616.         Sedt offers  several options for formatting the text that
  1617.     you input.   The  current formatting options are displayed on the
  1618.     ruler line on the second line of the display.
  1619.  
  1620.         The initial contents of  the  ruler line are defined by a
  1621.     file in the standard directory for Sedt.   When Sedt is called it
  1622.     reads the contents of the file RULER0.TXT and  loads the contents
  1623.     into the ruler.
  1624.  
  1625.         You can change the ruler either by loading a  ruler  file
  1626.     or by changing it interactively.   Most ruler changes are done by
  1627.     entering RULER MODE by typing <Gold> R, which takes the cursor up
  1628.     into the ruler line.  When you have  finished  changing the ruler
  1629.     type <Return>, which will take you back to normal editing mode.
  1630.  
  1631.         The following commands are valid in ruler mode:
  1632.  
  1633.         <Right Arrow>    Moves the cursor one column to the right.
  1634.  
  1635.         <Left Arrow>    Moves the cursor one column to the left.
  1636.  
  1637.         <Gold> <Digit>    Saves  the  current    ruler   in  Sedt's
  1638.                 standard    directory  in  a  file  named
  1639.                 RULER<Digit>.TXT.
  1640.  
  1641.         <Digit>     Loads  a saved ruler from Sedt's standard
  1642.                 directory    in        a    file    named
  1643.                 RULER<Digit>.TXT.
  1644.  
  1645.         <Control> H
  1646.                 Moves the  cursor  to column one.
  1647.  
  1648.         <Tab>        Moves  the cursor to the  next    non-blank
  1649.                 position on the ruler.
  1650.  
  1651.         <Return>    Exits ruler mode.
  1652.  
  1653.         <Space>     Clears any ruler controls at the  current
  1654.                 cursor position.
  1655.  
  1656.         L        Sets  the  left  margin  at  the  current
  1657.                 cursor    position.
  1658.  
  1659.                 When  a  <Return>  is entered the  cursor
  1660.                 will be indented to the left margin.
  1661.  
  1662.         W        Sets the word wrap  at the current cursor
  1663.                 position.
  1664.  
  1665.                 When input is typed to the right  of  the
  1666.                 right margin or the justification column,
  1667.                 the input will be wrapped and indented to
  1668.                 the  word wrap column or automatic margin
  1669.                 column.
  1670.  
  1671.         R        Sets  the  right  margin at  the  current
  1672.                 cursor position.
  1673.  
  1674.                 If any input is typed to the right of the
  1675.                 right margin the text will be wrapped and
  1676.                 indented  to  the  word  wrap  column  or
  1677.                 automatic margin column.
  1678.  
  1679.         J        Sets  the  justification  column  at  the
  1680.                 current cursor position.
  1681.  
  1682.                 If any input is typed to the right of the
  1683.                 justification  column,    the  text will be
  1684.                 justified by  having  the spacing between
  1685.                 words  on  the     line  modified  until    a
  1686.                 straight    right    margin    at     the
  1687.                 justification  column  is achieved.   Any
  1688.                 text  that cannot fit on the current line
  1689.                 is wrapped  to the next line and indented
  1690.                 to the word  wrap column or the automatic
  1691.                 margin column.
  1692.  
  1693.         I        Sets the indentation level at the current
  1694.                 cursor position.
  1695.  
  1696.                 If a <Tab> is  entered to the left of the
  1697.                 indentation  column,  the cursor will  be
  1698.                 advanced  to the indentation column.
  1699.  
  1700.         T        Sets  a  tab  stop  at the current cursor
  1701.                 position.   Tab  stops can only be set up
  1702.                 to  column  232,  they    are  fixed  at    8
  1703.                 character intervals beyond that.
  1704.  
  1705.                 If a <Tab> is entered to  the  left  of a
  1706.                 tab  stop the cursor will be advanced  to
  1707.                 the tab stop.
  1708.  
  1709.         A        Sets the  automatic margin at the current
  1710.                 cursor position.
  1711.  
  1712.                 When  text  is    wrapped  by typing to the
  1713.                 right     of  the    right    margin    or
  1714.                 justification  column, or a  <Return>  is
  1715.                 typed and the automatic margin is active,
  1716.                 the cursor will be advanced to    the  same
  1717.                 column    as    the    leftmost    printable
  1718.                 character on the  line    the cursor was on
  1719.                 before    the  character was  typed.    The
  1720.                 automatic  margin will also be    moved  to
  1721.                 this  position.    This  feature is  most
  1722.                 useful for structured programming.
  1723.  
  1724.         -        Clears tab stops  at  the  current cursor
  1725.                 position.
  1726.  
  1727.         Some  of  the tab controls  are  mutually  exclusive  and
  1728.     setting one of these will automatically cancel those options that
  1729.     it excludes. The following options are mutually exclusive:
  1730.  
  1731.         A and W
  1732.  
  1733.         R and J
  1734.  
  1735.         If several option are set at the  same    column    the ruler
  1736.     will only display one of them.
  1737.  
  1738.         To cancel an option  other  than  T,  place the cursor on
  1739.     column 1 and type the option.  The only exception to this rule is
  1740.     A.  This can only be canceled by typing R in any position.
  1741.  
  1742.         Saved rulers allow you to  set    up  to 10 different ruler
  1743.     settings according to your preference.     You can change the ruler
  1744.     that Sedt  loads  after start-up by saving the setting you desire
  1745.     in ruler number 0.
  1746.  
  1747.     Example rulers:
  1748.  
  1749.         A    T    T    T    T ...
  1750.  
  1751.             This ruler  is    most  convenient  for  structured
  1752.         programming.  Every  time  a  return is entered Sedt will
  1753.         indent to the left  margin  of    the line just terminated.
  1754.  
  1755.         W    L    T    T    R ...
  1756.  
  1757.             Every time a return is entered the cursor will be
  1758.         indented to the position of the  L  on    the  ruler  line.
  1759.         When text is typed to the right  of  R    the  line will be
  1760.         wrapped to the left margin.
  1761.  
  1762.         I    L    W    T    J ...
  1763.  
  1764.             This ruler will cause text to be filled between W
  1765.         and  J.    When  a return is entered the cursor  will  be
  1766.         indented to the L.
  1767.  
  1768.     2.6              Options/Modes
  1769.  
  1770.         The bottom line of the display shows the state of several
  1771.     options that affect  how Sedt commands work.  Each of these has a
  1772.     default state.
  1773.  
  1774.     Forward/Reverse (default:Forward)
  1775.  
  1776.             Most cursor commands move  in the direction shown
  1777.         by the direction state.
  1778.  
  1779.             To  change the direction state type <Keypad 4> or
  1780.         <Keypad 5>.
  1781.  
  1782.     Insert/Overstrike (default:Insert)
  1783.  
  1784.             When  text is inserted in insert mode  it  pushes
  1785.         any characters at or to the right of  the  cursor  to the
  1786.         right  to  make  room  for the text being inserted.    In
  1787.         replace mode text  originally  at  the cursor position is
  1788.         overwritten.
  1789.  
  1790.             To change the state between insert and overstrike
  1791.         modes type <Gold> O.
  1792.  
  1793.     Line/Block (Default:Line)
  1794.  
  1795.             This  state  only  has    effect    when  cutting  or
  1796.         pasting text.
  1797.  
  1798.             In line mode  a  cut will remove all text between
  1799.         the select point and  the  cursor  position,  and a paste
  1800.         will  insert the contents of  the  paste  buffer  at  the
  1801.         cursor position.
  1802.  
  1803.             In block mode a cut will remove the  rectangle of
  1804.         text defined by the select point and the cursor  position
  1805.         and a paste will push all text from the cursor    column to
  1806.         the  right  to    make  room  for the contents of the paste
  1807.         buffer.
  1808.  
  1809.             To change between line and block mode type <Gold>
  1810.         L.
  1811.  
  1812.     Tabs:Expanded/Tabs:Inserted (Default:Tabs:Expanded)
  1813.  
  1814.             When tabs are expanded Sedt will always use ASCII
  1815.         Space characters to indent text.  When tabs  are inserted
  1816.         Sedt  will  use  ASCII    HT and Space characters.   It  is
  1817.         recommended that the state be left as tabs expanded.
  1818.  
  1819.             To change the tab mode type <Gold> I.
  1820.  
  1821.     Screen Shift=<Number>/Screen Shift=Off (Default:Screen Shift=0)
  1822.  
  1823.             If screen shift is  off  the  leftmost    character
  1824.         position  on the screen will  always  correspond  to  the
  1825.         first column of the text file.
  1826.  
  1827.             If screen shift shows a number,  Sedt  will  keep
  1828.         the  cursor  within  the visible screen by  shifting  the
  1829.         screen    horizontally through the file.    The number  shown
  1830.         is  the  number  of  columns  hidden to the left  of  the
  1831.         screen. This process is totally automatic.
  1832.  
  1833.             To change the screen shift mode type <Gold> A.
  1834.  
  1835.     Learning/Executing
  1836.  
  1837.             The Learning  mode  indicator  shows that Sedt is
  1838.         storing all keyboard input for later reexecution.
  1839.  
  1840.             <Gold> F17>  will  store  learned keystrokes into
  1841.         ^Z.   Terminate  learning  by  typing  ^Z.    The  stored
  1842.         keystrokes are executed by typing ^Z again.
  1843.  
  1844.             <Gold>    <F18> will prompt  for    a  key    to  store
  1845.         keystrokes in and then store  subsequent keystrokes until
  1846.         the same key is typed.     To execute the stored keystrokes
  1847.         type the key you stored them in.
  1848.  
  1849.             The Executing mode  indicator  shows that Sedt is
  1850.         reexecuting a stored sequence of keystrokes.
  1851.  
  1852.             Execute mode is entered by typing <Gold> <F18>
  1853.  
  1854.     2.7             Responding to Prompts
  1855.  
  1856.         Some  commands,  such  as  the    search    command,  require
  1857.     arguments.  Such commands will    write a prompt on the bottom line
  1858.     of the screen and wait for you to  enter  a  response.      You can
  1859.     enter the following when responding to a prompt:
  1860.  
  1861.         Any key on  the  typewriter keyboard will be entered into
  1862.             the prompt string at the cursor position.
  1863.  
  1864.         <Control> U
  1865.             Will abort the command.
  1866.  
  1867.         <Return>
  1868.         <Keypad Enter>
  1869.         <Do>
  1870.             Completes the response to the prompt.
  1871.  
  1872.         <Delete>
  1873.         <Backspace>
  1874.             Deletes the character behind the cursor.
  1875.  
  1876.         <Gold> <Return>
  1877.             Inserts a CR/LF pair in the prompt buffer.
  1878.  
  1879.         <Left Arrow>
  1880.             Moves the cursor one character left.
  1881.  
  1882.         <Right Arrow>
  1883.             Moves the cursor one character right.
  1884.  
  1885.         <Up Arrow>
  1886.             If typed before  any  other character will recall
  1887.             the previous  response    to  a prompt.  Successive
  1888.             <Up  Arrow>s  will   move  through  the  last  10
  1889.             responses.
  1890.  
  1891.         <Down Arrow>
  1892.             If <Up Arrow> has  recalled  previous  responses,
  1893.             <Down Arrow> will move forward    towards  the last
  1894.             response.
  1895.  
  1896.         Other control characters will be  inserted  at the cursor
  1897.             position.
  1898.  
  1899.         Function keys will insert the programming  of the keys at
  1900.             the cursor.
  1901.     
  1902.         A  special  prompt   is  used  to  confirm  actions  that
  1903.     potentially may cause significant losses of data such as quitting
  1904.     an edit session without saving all changes.  These prompts pose a
  1905.     question, followed by <Y/N>:.  Responses  to these prompts may be
  1906.     a y or Y to confirm, a    n or N affirm or <control> U to abort the
  1907.     command that generated the question.
  1908.  
  1909.     2.8               Repeating Commands
  1910.  
  1911.         Most commands can be repeated by  typing first <Gold> and
  1912.     then the number of times you want  the    command  repeated  on the
  1913.     normal typewriter keyboard before typing the command.
  1914.  
  1915.         A few  commands do not accept such a repeat count, either
  1916.     because it makes  no  sense,  or  because  the number is used for
  1917.     other purposes.
  1918.  
  1919.         As  you  type the number it will be shown on the  message
  1920.     line of the display.
  1921.  
  1922.         If  you  happen  to mistype the number you can delete  it
  1923.     digit by digit with the <Delete> key.
  1924.  
  1925.     2.9            Cursor Movement
  1926.  
  1927.         Cursor movement commands  come    in  two  flavors.    Some
  1928.     take the direction of  movement from the direction flag, which is
  1929.     displayed in the first field  of  the  mode  line, whereas others
  1930.     always move  in  a  fixed direction.  The direction determined by
  1931.     the direction flag is called the DEFAULT DIRECTION.
  1932.  
  1933.         The  direction    flag  is controlled  with  the    following
  1934.     commands:
  1935.  
  1936.         <Gold> +
  1937.         <Gold> >
  1938.         <Keypad 4>
  1939.             Set the direction  flag  to  forward:  toward the
  1940.             end  of the text  in  the  buffer.    <Keypad  4>
  1941.             changes the direction permanently.   <Gold> + and
  1942.             <Gold> > only changes it for the next command.
  1943.  
  1944.         <Gold> -
  1945.         <Gold> <
  1946.         <Keypad 5>
  1947.             Set the direction flag to reverse:    toward  the
  1948.             beginning of the text in the buffer.   <Keypad 5>
  1949.             changes  the direction permanently.  <Gold> - and
  1950.             <Gold> < only changes it for the next command.
  1951.  
  1952.         Most movement commands    can  be repeated by typing <Gold>
  1953.     and then typing the number of times you want the command repeated
  1954.     immediately  before you type the command.   The  number  must  be
  1955.     typed on the normal typewriter keyboard.
  1956.  
  1957.         Commands that move the cursor are:
  1958.  
  1959.         <Gold> .
  1960.             Moves the cursor to a previously set mark.  There
  1961.             are 9 different marks that you    can set.  To move
  1962.             to mark number 1 type <Gold> .    .  To move to any
  1963.             of  the  other marks type <Gold> followed by  the
  1964.             number    of  the  mark  (1  to  9)  on the  normal
  1965.             typewriter keyboard  and  then <Gold> .  .  Marks
  1966.             are useful for    jumping  back  and  forth between
  1967.             different points in the buffer.
  1968.  
  1969.         <Gold> B
  1970.         <Gold> <Keypad 4>
  1971.             Moves  the  cursor to the position just after the
  1972.             last character of text in the buffer.
  1973.  
  1974.  
  1975.         <Gold> M
  1976.             Sets  a  mark  at  the current    position  of  the
  1977.             cursor.  To set mark number 1  type <Gold> M.  To
  1978.             set other marks (1 to 9) type <Gold>  followed by
  1979.             the  number  of the mark on the normal typewriter
  1980.             keyboard and then <Gold> M.
  1981.  
  1982.         <Gold> T
  1983.         <Gold> <Keypad 5>
  1984.             Moves  the  cursor  to the first character in the
  1985.             buffer.
  1986.  
  1987.         <Gold> U
  1988.             If you    type  <Gold> U as the first input after a
  1989.             movement command the cursor will be moved back to
  1990.             the  position  it  was    at before the move.  This
  1991.             command is  very  useful to undo undesired moves.
  1992.             Several commands that  delete  text  can  also be
  1993.             undone with <Gold> U.  If the last command cannot
  1994.             be undone you will receive an error message.
  1995.  
  1996.         <Control> H
  1997.             Will move the cursor to the  beginning of a line.
  1998.             If the cursor already is at the  beginning  of    a
  1999.             line  it  will be moved to the beginning  of  the
  2000.             previous line.
  2001.  
  2002.         <Find>
  2003.         <PF3>
  2004.             Will  search  in  the default direction  for  the
  2005.             string given in the last <Gold> <Find>    or <Gold>
  2006.             <Keypad  9>  command.     The  <Find>  command  is
  2007.             insensitive to the case of the string.
  2008.  
  2009.         <Prev Screen>
  2010.             Moves up by one fewer lines than there are in the
  2011.             window.  The cursor is positioned at the start of
  2012.             the line.
  2013.  
  2014.         <Next Screen>
  2015.             Moves  down  by one fewer lines than there are in
  2016.             the window.   The  cursor  is  positioned  at the
  2017.             start of the line.
  2018.  
  2019.         <Up Arrow>
  2020.             Moves one line up and tries to keep the cursor at
  2021.             the same column as it was at before a sequence of
  2022.             up and down arrow moves.
  2023.  
  2024.         <Left Arrow>
  2025.             Moves one character backward.
  2026.  
  2027.         <Down Arrow>
  2028.             Moves  one line down and tries to keep the cursor
  2029.             at the same column as it was at before a sequence
  2030.             of up and down arrow moves.
  2031.  
  2032.         <Right Arrow>
  2033.             Moves one character forward.
  2034.  
  2035.         <Keypad 0>
  2036.             Moves  in  the    default  direction  to    the  next
  2037.             beginning of line.
  2038.  
  2039.         <Keypad 1>
  2040.             Moves  in  the    default  direction  to    the  next
  2041.             beginning  of  a word.    Spaces before a word  are
  2042.             skipped.    A     word     is    either    a  single
  2043.             non-alphanumeric character or a  word composed of
  2044.             alphanumeric characters.
  2045.  
  2046.         <Keypad 2>
  2047.             Moves in the default direction to the next end of
  2048.             line.  If the cursor already is at the    end  of a
  2049.             line it will move to the end of the next line.
  2050.  
  2051.         <Keypad 3>
  2052.             Moves one character in the default direction.
  2053.  
  2054.         <Keypad 7>
  2055.             Moves  in the default direction to the next start
  2056.             of page.    The start of page is determined by an
  2057.             ASCII FF character (Which is inserted with <Gold>
  2058.             P).  If there are no more ASCII FF characters the
  2059.             cursor will be moved to the end of the buffer.
  2060.  
  2061.         <Keypad 8>
  2062.             Moves in the default direction    to the next start
  2063.             of a paragraph.  Paragraphs are  delimited  by    a
  2064.             minimum of one empty line.   The cursor is placed
  2065.             over  the  first  non-blank  character    in    the
  2066.             paragraph.
  2067.  
  2068.         <Gold> <F19>
  2069.             Moves  to  bracketing character that matches  the
  2070.             one under the cursor.  Matching characters are ',
  2071.             ", <, >, [, ], {, }, (,  and  ).    '  and  " are
  2072.             searched  for in the current direction, all other
  2073.             characters are searched for in the direction that
  2074.             the  character    implies.    If    the cursor is not
  2075.             placed over  one of the above characters an error
  2076.             message will be displayed.
  2077.  
  2078.         <Gold Find>
  2079.         <Gold> <PF3>
  2080.             Prompts for  a    string    on the bottom line of the
  2081.             display    and     then  searches  in  the  default
  2082.             direction for  an  occurrence of the string.  The
  2083.             search    is  independent    of  the  case  of  any
  2084.             alphabetic characters in the string.  If an empty
  2085.             response  is  given  to  the  prompt  the  string
  2086.             entered in response to the last  <Gold> <Find> or
  2087.             <Gold> <Keypad 9> will be used.
  2088.  
  2089.         <Gold> <Left Arrow>
  2090.             Moves continuously backward  through  the  buffer
  2091.             until the beginning of the buffer is reached or a
  2092.             command is typed.
  2093.  
  2094.         <Gold> <Right Arrow>
  2095.             Moves  continuously  forward  through the  buffer
  2096.             until the end of buffer is  reached  or a command
  2097.             is typed.
  2098.  
  2099.     2.10             Text Insertion
  2100.  
  2101.         All insertion  happens    at  the  the cursor position.  To
  2102.     insert at a  different    position  from the one you see the cursor
  2103.     flashing at you have  to  move    the  cursor there first.  See the
  2104.     section on cursor movement for directions on how to move around.
  2105.  
  2106.         The regular typewriter keys will cause    the  character on
  2107.     the key to be inserted in the  file  you  are  editing.   If your
  2108.     keyboard  has been programmed for a national character    set  Sedt
  2109.     will use that programming.
  2110.  
  2111.         A number of other keys will also cause text insertion:
  2112.  
  2113.         <Tab>    The cursor will be advanced to the next tab  stop
  2114.             on the    ruler  by  inserting  spaces  or ASCII HT
  2115.             characters.  If  the mode is set to Tabs:Expanded
  2116.             only   space  characters  will      be    inserted.
  2117.             Otherwise  a  mixture of HT and space  characters
  2118.             will be used.
  2119.  
  2120.             If  an    indentation  point has been set  and  the
  2121.             cursor is to the left of it it    will  space  over
  2122.             intermediate tab stops to the indentation point.
  2123.  
  2124.         <Return>
  2125.             A new line will be started at the cursor position
  2126.             and the  cursor will be advanced according to the
  2127.             following rules:
  2128.  
  2129.             If an A  is  shown  on    the ruler line the cursor
  2130.             will  be advanced to  the  column  of  the  first
  2131.             printable character on the line just terminated.
  2132.  
  2133.             If an L is shown  on  the  ruler  line the cursor
  2134.             will be advanced to the column shown by the L.
  2135.  
  2136.             The  cursor is advanced by  inserting  space  and
  2137.             ASCII  HT  characters.    If the    mode  is  set  to
  2138.             Tabs:Expanded    only  space  characters  will  be
  2139.             inserted.
  2140.  
  2141.         <Escape>
  2142.         <F11>
  2143.             Inserts an ASCII ESC character.
  2144.  
  2145.         <Gold> <Control> I
  2146.             Prompts for a key and will  insert the definition
  2147.             of the key into the file at  the  current  cursor
  2148.             position.  The key can be a function key, control
  2149.             character, gold function key, gold control key or
  2150.             gold character from the typewriter keyboard.
  2151.  
  2152.         <Gold> G
  2153.             Prompts for a file name and includes the contents
  2154.             of the file at the cursor position.
  2155.  
  2156.         <Gold> P
  2157.             Inserts an ASCII FF character, which starts a new
  2158.             page.
  2159.  
  2160.         <Insert Here>
  2161.         <Gold> <Keypad 6>
  2162.             Inserts the  contents  of the paste buffer at the
  2163.             current cursor position.
  2164.  
  2165.         <Gold> <Keypad 0>
  2166.             Inserts a  new    line  at  the cursor position and
  2167.             does not advance  the  cursor.
  2168.  
  2169.         <Gold> <Keypad 3>
  2170.             Allows insertion of an arbitrary ASCII character.
  2171.             Type <Gold> followed by the decimal value of  the
  2172.             character  (typed  on     the  regular  typewriter
  2173.             keyboard) followed by <Gold>  <Keypad  3>.    You
  2174.             cannot enter a newline character (ASCII LF) using
  2175.             this method.
  2176.  
  2177.         <Gold> <Keypad ,>
  2178.             Inserts the last deleted character at  the cursor
  2179.             position.
  2180.  
  2181.         <Gold> <Keypad ->
  2182.             Inserts  the  last  deleted  word  at the  cursor
  2183.             position.
  2184.  
  2185.         <Gold> <PF4>
  2186.             Inserts  the  last  deleted  line  at  the cursor
  2187.             position.
  2188.  
  2189.     2.11             Selecting Text Ranges
  2190.  
  2191.         Several  commands  operate with a selected region.    The
  2192.     following  commands  are  used to select an arbitrary  region  of
  2193.     text.  Whenever a region of text is selected it will be displayed
  2194.     in reverse video on the screen.
  2195.  
  2196.         <Select>
  2197.         <Keypad .>
  2198.             Anchors the  cursor  position  as  one    end  of a
  2199.             selected region.   When  the  cursor  is moved in
  2200.             front of the select  point the select region will
  2201.             be all characters from the select point up to the
  2202.             character behind the cursor.  When  the cursor is
  2203.             moved behind the select point the region  will be
  2204.             all    characters  from  the  cursor  up  to  the
  2205.             character behind the select point.
  2206.  
  2207.         <Gold> <Select>
  2208.         <Gold> <Keypad .>
  2209.             Cancels the select region.
  2210.  
  2211.     2.12             Deleting Text
  2212.  
  2213.         <Linefeed>
  2214.         <Control> J
  2215.         <F13>
  2216.             Deletes  from  the  character  behind  the cursor
  2217.             position  back    to the previous start of a  word.
  2218.             The deleted text can be retrieved with the <Gold>
  2219.             <Keypad -> command.
  2220.  
  2221.         <Control> U
  2222.             Deletes  from  the character  behind  the  cursor
  2223.             position back  to the beginning of the line.  The
  2224.             deleted text can  be  retrieved  with  the <Gold>
  2225.             <PF4> command.
  2226.  
  2227.         <Delete>
  2228.         <Backspace>
  2229.             Deletes the character behind the cursor position.
  2230.             The deleted character can  be  retrieved with the
  2231.             <Gold> <Keypad ,> command.
  2232.  
  2233.         <Gold> Z
  2234.             Clears the contents of the  buffer.  The previous
  2235.             contents cannot be retrieved.
  2236.  
  2237.         <F4>
  2238.             Appends the contents of the selected  text  range
  2239.             to the paste buffer.  The selected  text range is
  2240.             not deleted from the buffer.
  2241.  
  2242.         <Remove>
  2243.         <Keypad 6>
  2244.             Removes  the  selected text range from the buffer
  2245.             and inserts it in the paste buffer.
  2246.  
  2247.         <Keypad ,>
  2248.             Deletes the  character    at  the  cursor position.
  2249.             The character can  be  retrieved  with the <Gold>
  2250.             <Keypad ,> command.
  2251.  
  2252.         <Keypad ->
  2253.             Deletes from the cursor  position up the the next
  2254.             start  of  a  word.   The  deleted  text  can  be
  2255.             retrieved with the <Gold> <Keypad -> command.
  2256.  
  2257.         <PF4>
  2258.             Deletes from the cursor position through the line
  2259.             end.  The deleted text    can be retrieved with the
  2260.             <Gold> <PF4> command.
  2261.  
  2262.         <Gold> <Remove>
  2263.             Copies    from  the  selected  text  range into the
  2264.             paste buffer without deleting from the buffer.
  2265.  
  2266.         <Gold> <Keypad 2>
  2267.             Deletes from the cursor position up to the end of
  2268.             the line.  The deleted text can be retrieved with
  2269.             the <Gold> <PF4> command.
  2270.  
  2271.     2.13              Substitution
  2272.  
  2273.         <Keypad 9>
  2274.             Searches  in    the   current  direction  for  an
  2275.             occurrence of the  last  search string given and,
  2276.             if the string is found, replaces it with the last
  2277.             replace string given.  The  Search  string is set
  2278.             with  the  <Gold>  <PF3>  or  <Gold>  <Keypad  9>
  2279.             commands.    The replace string is set    with  the
  2280.             <Gold> <Keypad 9> command.
  2281.  
  2282.         <Gold> <Keypad 9>
  2283.             Prompts for a search and  a  replace  string  and
  2284.             then  searches    in  the  current direction for an
  2285.             occurrence  of    the search string and , if it  is
  2286.             found, replaces  it  with the replace string.  If
  2287.             an empty response  is given to any of the prompts
  2288.             the previous value of the string will be used.
  2289.  
  2290.     2.14              Windows and Buffers
  2291.  
  2292.         Sedt allows you to edit up to 4  different  files  at the
  2293.     same time.  At any given moment you can choose between having one
  2294.     or two of these displayed on the screen.  The  following commands
  2295.     allow  you  to    switch between the four files and change the  way
  2296.     they are displayed.
  2297.  
  2298.         Each of the 4 files you  can  edit  are held in a buffer.
  2299.     The current buffer, which all commands operate on, is the one you
  2300.     see on the screen when a single window is  displayed,  or the one
  2301.     shown in the top window when two are displayed.
  2302.  
  2303.         <Gold> <Up Arrow>
  2304.             Scrolls the  display  so  that    the line with the
  2305.             cursor is on  the  second  line  of  the display.
  2306.             This command has no effect if the operation would
  2307.             place the first  line of the file below the first
  2308.             line of the display.
  2309.  
  2310.         <Gold> <Down Arrow>
  2311.             Scrolls the  display  so  that    the line with the
  2312.             cursor    is  on the second last    of  the  display.
  2313.             This command has no effect if the operation would
  2314.             place the first  line of the file below the first
  2315.             line of the display.
  2316.  
  2317.         <Gold> D
  2318.             Toggles between displaying one or  two    files  on
  2319.             the  screen.    When two files are displayed  the
  2320.             screen    will  be  split horizontally with the two
  2321.             files shown  one  above  the  other.
  2322.  
  2323.         <Gold> E
  2324.             Prompts  for  a  file  name to be loaded into the
  2325.             current buffer.    The    original  contents of the
  2326.             buffer are discarded.     You  will,  however,  be
  2327.             given a chance to  save  the original contents of
  2328.             the buffer if it has been modified.
  2329.  
  2330.         <Gold> F
  2331.         <F10>
  2332.             Saves the contents of  the  current  buffer.  All
  2333.             other    than  ATARI  GEM  and  Microsoft  Windows
  2334.             versions  will    terminate  the edit session if no
  2335.             unmodified buffers  exist,  or    ask  whether  you
  2336.             intend to terminate if there are unsaved changes.
  2337.  
  2338.         <Gold> Q
  2339.         <F8>
  2340.             Terminates  execution  of Sedt without saving any
  2341.             buffers.   You    will be asked to confirm that you
  2342.             really intend to  quit    if  any buffers have been
  2343.             modified.  On  ATARI  GEM  and    Microsoft Windows
  2344.             versions only the current  window  will be closed
  2345.             and Sedt will terminate when  the  last window is
  2346.             closed.  Advanced Guide
  2347.  
  2348.  
  2349.         <Gold> S
  2350.             Prompts for a file name and then saves the buffer
  2351.             into the file.    The file name associated with the
  2352.             buffer will be changed to the new file.
  2353.  
  2354.         <Gold> X
  2355.             Switches to the previously selected buffer.    If
  2356.             no other buffer has been selected it  will switch
  2357.             to buffer 1.
  2358.  
  2359.         <F6>
  2360.             Saves the contents of the current buffer into the
  2361.             file associated with it.  The save is not done if
  2362.             no modifications have been made.
  2363.  
  2364.         <F17>
  2365.             Selects buffer number 0.
  2366.  
  2367.         <F18>
  2368.             Selects buffer number 1.
  2369.  
  2370.         <F19>
  2371.             Selects buffer number 2.
  2372.  
  2373.         <F20>
  2374.             Selects buffer number 3.
  2375.  
  2376.     2.15            Text Formatting
  2377.  
  2378.         <Control> A
  2379.             Sets  the  indentation level to the column number
  2380.             that the cursor  is  at.    Typing <Tab> when the
  2381.             cursor is to the  left    of  the indentation level
  2382.             will insert space characters to  bring the cursor
  2383.             up to the indentation level.
  2384.  
  2385.         <Control> D
  2386.             Decreases the indentation level by one column.
  2387.  
  2388.         <Control> E
  2389.             Increases the indentation level by one column.
  2390.  
  2391.         <Control> T
  2392.             Adjusts all text within the select  range  by one
  2393.             tab stop.  <Control> T will move the select range
  2394.             right  if the direction flag is forward and  left
  2395.             if  the  direction  flag  is  reverse.     <Gold> -
  2396.             <Control> T  will  always  move  a tab stop left.
  2397.             <Gold> + <Control>  T will always move a tab stop
  2398.             right.
  2399.  
  2400.         <Gold> C
  2401.             Centers the line containing  the  cursor  between
  2402.             the left (L on the  ruler line) and right (R or J
  2403.             on the ruler line) margins.
  2404.  
  2405.         <Gold> J
  2406.             Reformats from the previous beginning of  line to
  2407.             the  end of the current paragraph.   Reformatting
  2408.             requires that a right margin has been set  on the
  2409.             ruler line.  An R will set a ragged  right margin
  2410.             and a J will set a justified right margin.
  2411.  
  2412.         <Gold> _
  2413.             Inserts  a  hyphen and    a  space  at  the  cursor
  2414.             position  and  reformats  from      the     previous
  2415.             beginning  of  line to the  end  of  the  current
  2416.             paragraph.  This command allows you  the  break a
  2417.             word if the automatic reformatting looks bad.
  2418.  
  2419.         <Gold> <Keypad 8>
  2420.             Reformats from the cursor position to  the end of
  2421.             the current paragraph.
  2422.  
  2423.     2.16            Programming Keys
  2424.  
  2425.         The effect of a keyboard command is  not  fixed  in Sedt.
  2426.     You can change the functions of most keys  in  a variety of ways.
  2427.     Permanently  by    editing    the  keyboard  definition  file  or
  2428.     temporarily  during a  session    with  commands    that  change  the
  2429.     keyboard programming.
  2430.  
  2431.         <Control> K
  2432.             Prompts for you to  type  the  key  you  want  to
  2433.             program and for a command string that you want to
  2434.             program the key with.  Valid  commands    that  you
  2435.             can  program the key with are documented  in  the
  2436.             reference section of this manual.
  2437.  
  2438.         <Gold> <Control> I
  2439.             Prompts for you to  type  a  keystroke    and  then
  2440.             inserts  the  programming  of the  key    into  the
  2441.             current buffer at the cursor position.
  2442.  
  2443.         <Gold> <Control> L
  2444.             Prompts for you to type the key that  you want to
  2445.             program  and  then  loads  the    contents  of  the
  2446.             current buffer into the key.  Valid commands that
  2447.             you can program  the  key  with are documented in
  2448.             the reference section of this manual.
  2449.  
  2450.         <Gold> <F17>
  2451.             Causes    learning  of  keystrokes  into    ^Z  until
  2452.             learning is completed by typing <Control> Z.  The
  2453.             keystrokes learned  can  be  "replayed" by typing
  2454.             ^Z.
  2455.  
  2456.         <Gold> <F18>
  2457.             Prompts  for  a    keystroke    and  then  stores
  2458.             subsequent keystokes into that    key  until  it is
  2459.             typed again.  To "replay" the keystrokes type the
  2460.             key at any time after learning was terminated.
  2461.  
  2462.     2.17            Changing Options
  2463.  
  2464.         Sedt supports  a  variety  of  toggles    and  options that
  2465.     change the behavior of the editor.  Many can be set for a session
  2466.     by providing command switches  when  you call Sedt or they can be
  2467.     modified dynamically during the editing session.
  2468.  
  2469.         <Gold> A
  2470.             Toggles    automatic    screen    shifting.
  2471.  
  2472.             When automatic screen shifting    is  on the screen
  2473.             will  scroll  horizontally  to    ensure    that  the
  2474.             cursor    is always visible within the  margins  on
  2475.             your screen.  The mode indicator "Screen  Shift="
  2476.             indicates  how    many characters to the right that
  2477.             the  screen  is shifted.  When screen shifting is
  2478.             off the  leftmost  character on the screen always
  2479.             corresponds to the  leftmost  character  on  each
  2480.             line in the file.
  2481.  
  2482.         <Gold> I
  2483.             Toggles  expansion  of    tabs.
  2484.  
  2485.             Then tabs are expanded only space characters will
  2486.             be used when indenting    text  in  moving to a tab
  2487.             stop on the ruler.   When  tabs are inserted Sedt
  2488.             will attempt to use ASCII HT characters for these
  2489.             operations,  thus saving file space.  The  latter
  2490.             condition  may lead to undesired effects when you
  2491.             delete    and   insert  text  containing    ASCII  HT
  2492.             characters.  The  state of the tab insertion mode
  2493.             is shown by the "Tabs:" mode indicator.
  2494.  
  2495.         <Gold> L
  2496.             Toggles block cut and paste.
  2497.  
  2498.             When  block  cut and paste is  in  effect  a  cut
  2499.             operation (<Remove> or <Keypad 6>) will remove    a
  2500.             rectangle of text bounded by the select point and
  2501.             the   cursor  position.    In  line  mode  a  cut
  2502.             operation will    remove    all  text  in  the select
  2503.             region.
  2504.  
  2505.             When block  cut  and  paste is in effect the word
  2506.             "Block" will appear  on  the mode line and only a
  2507.             reverse video column will show the select region.
  2508.  
  2509.             When line cut and  paste is in effect "Line" will
  2510.             be shown on the mode  line  and the entire select
  2511.             region will be shown in reverse video.
  2512.  
  2513.         <Gold> O
  2514.             Toggles  overstrike/insert mode.
  2515.  
  2516.             In insert  mode  typed    text,  inserted  text and
  2517.             undeleted  text  will be inserted at  the  cursor
  2518.             position and any existing text will be    pushed to
  2519.             the right of  the  inserted  text.    The  delete
  2520.             operation will remove the  text and collapse text
  2521.             around    the region that was  deleted.     "Insert"
  2522.             will also be displayed on the mode line.
  2523.  
  2524.             In  replace  mode  typed, inserted and    undeleted
  2525.             text will overwrite existing text in the  buffer.
  2526.             Delete    operations will cause the deleted text to
  2527.             be  replaced by blank space.  "Replace" will also
  2528.             be shown  on  the mode line.  This mode is useful
  2529.             for editing tabular types of text.
  2530.  
  2531.         <Gold> W
  2532.             Toggles between 80  and  132  character displays.
  2533.             This is only supported    on  systems  and displays
  2534.             that can toggle between these modes.
  2535.  
  2536.     2.18             Miscellaneous Commands
  2537.  
  2538.         <Control> P
  2539.             Prompts  for  a file name and writes the contents
  2540.             of  the  current  buffer  onto the file with page
  2541.             breaks at every 60 lines.
  2542.  
  2543.         <Control> W
  2544.             Refreshes the entire display.
  2545.  
  2546.         <Gold> <Return>
  2547.         <Do>
  2548.             Prompts for an operating system command and  then
  2549.             executes  it in a subprocess.  If no  command  is
  2550.             entered the  command  parser  will  be    executed.
  2551.             This command is  not  supported  on all operating
  2552.             systems.
  2553.  
  2554.         <Gold> H
  2555.         <Help>
  2556.         <PF2>
  2557.             Displays  a  series  of    help  screens  on  the
  2558.             terminal.
  2559.  
  2560.         <Gold> R
  2561.             Enters ruler definition mode.  See the chapter on
  2562.             modifying the ruler for an explanation.
  2563.  
  2564.         <F7>
  2565.         <F9>
  2566.         <Keypad Enter>
  2567.         <Gold> <Resume>
  2568.             Dead  key.    This  is useful for  terminating    a
  2569.             continuously  scrolling  operation    started  by
  2570.             <Gold> <Right Arrow> or <Gold> <Left Arrow>.
  2571.  
  2572.         <Gold> <F4>
  2573.             Prompts for a file  and loads the contents of the
  2574.             file into the paste buffer.
  2575.  
  2576.         <Gold> <Do>
  2577.         <Gold> <Keypad 7>
  2578.             Prompts for a sequence of  internal Sedt commands
  2579.             and  then  executes  them.    A   description  of
  2580.             internal   Sedt  commands  is  contained  in  the
  2581.             reference section of this manual.
  2582.  
  2583.         <Gold> <Keypad 1>
  2584.             Changes  the  case  of alphabetic characters in a
  2585.             range  of text given by the following rule:   The
  2586.             select    region if one is active, otherwise if the
  2587.             last command  was  a  search operation the string
  2588.             that was found,  otherwise  the  character at the
  2589.             cursor position.
  2590.  
  2591.         <Gold> <Keypad Enter>
  2592.             Swaps the character at    the  cursor  position and
  2593.             the following character and advances  the  cursor
  2594.             by one character.
  2595.     
  2596.     Copyright (c) Anker Berg-Sonne, 1985-1989
  2597.     Sedt Version 4.0 (254)
  2598.  
  2599.  
  2600.     3       Using the MS-DOS version of Sedt
  2601.  
  2602.         The  MS-DOS  version  of    Sedt    follows  the  generic
  2603.     description given in the previous  two chapters, but adds support
  2604.     for a mouse if a Microsoft mouse compatible driver is installed.
  2605.  
  2606.     3.1 Support of the Microsoft mouse driver
  2607.  
  2608.             If  Sedt recognizes the presence of  a    mouse  it
  2609.         will  display  a  block cursor within the  window.    The
  2610.         cursor will move around the window if you move the mouse.
  2611.  
  2612.             Clicking the left mouse button will move the text
  2613.         cursor to the position you clicked at.    Any active select
  2614.         region is canceled.    If  the mouse is dragged with the
  2615.         left mouse button held down the cursor will move with the
  2616.         mouse and the region between  the  point where the cursor
  2617.         was  originally pressed and the current  cursor  will  be
  2618.         selected.
  2619.  
  2620.             Clicking the right  mouse  button will select the
  2621.         text between the mouse cursor and the text cursor.
  2622.     
  2623.     Copyright (c) Anker Berg-Sonne, 1985-1989
  2624.     Sedt Version 4.0 (254)
  2625.  
  2626.  
  2627.     4       Using the Microsoft Windows version of Sedt
  2628.  
  2629.  
  2630.         WSEDT.EXE is special version of Sedt running as a class A
  2631.     application  under  Microsoft    Windows.    In    addition  to  the
  2632.     functionality described elsewhere in  this manual it offers mouse
  2633.     control, menus, sizable and movable  windows  and an interface to
  2634.     the  Windows clipboard.  
  2635.  
  2636.         Because of  the multitasking environment Sedt cannot take
  2637.     full control of  the  keyboard    or  even assume that the keyboard
  2638.     state is known.  Therefore Sedt does not support the Num Lock and
  2639.     Scroll Lock keys as normal editing keys.
  2640.  
  2641.     4.1              Window Control
  2642.  
  2643.             When you  run Sedt is displays a normal MS window
  2644.         with a menu  bar,  a  size box and a vertical scroll bar.
  2645.         All of these controls  work  exactly  as  with    any other
  2646.         Windows application.  When the window is resized you will
  2647.         notice that Sedt  adapts  to the new windows size so that
  2648.         horizontal shifting and vertical  scrolling  work exactly
  2649.         the same.
  2650.  
  2651.             The initial window will display buffer 0.  As you
  2652.         open  other  buffers,  they  will  be  displayed  in  new
  2653.         windows.  You can display the contents of several buffers
  2654.         at a time.  As with the stand alone version, you can have
  2655.         four concurrently open    windows.   These are displayed in
  2656.         independent  MS-Windows windows that  can  be  moved  and
  2657.         controlled independently.
  2658.  
  2659.     4.2              Mouse Control
  2660.  
  2661.             The mouse cursor is an    I-bar text cursor when it
  2662.         moves within the file display.     Outside the file display
  2663.         it changes into an arrow pointer.
  2664.  
  2665.             Apart  from  the  normal  mouse  controls of  the
  2666.         windows and menus, you can also use the mouse to position
  2667.         the text cursor within the visible window and to select a
  2668.         region of text.
  2669.  
  2670.             To  position  the cursor, place the mouse pointer
  2671.         at the    character  position  you  want the cursor at, and
  2672.         click the left    button.    The    cursor    will  move to the
  2673.         selected position unless the  position    is further to the
  2674.         right than the last character  on  the    line, or past the
  2675.         end of the buffer.  If    the  selected position is further
  2676.         to the right than the end of  the line the cursor will be
  2677.         placed over the last character on the line.    If  it  is
  2678.         past the end of the buffer you will get an error message.
  2679.  
  2680.             If you select a point on  the  first or last line
  2681.         of the buffer the window will scroll one line.
  2682.  
  2683.             To  select a region of text you can use the mouse
  2684.         in two    different  ways.    If    you drag the cursor after
  2685.         clicking  it  the  region  from  the  initially  selected
  2686.         cursor position to the    point where you release the mouse
  2687.         button will be the selected  region.  If you accidentally
  2688.         select a region by dragging, you  can  cancel  the select
  2689.         region by moving the mouse cursor to the block cursor and
  2690.         clicking  the right mouse button.  Alternately, a  region
  2691.         can be selected by moving the mouse cursor to  the end of
  2692.         the  select  region  and clicking the right mouse button.
  2693.         In either case the selected region will change to reverse
  2694.         video.
  2695.  
  2696.     4.3               Menu Control
  2697.  
  2698.             The menu  bar  will  display  five titles:  File,
  2699.         Window, Edit, Ruler and Help.    To  select  any  of these
  2700.         move the mouse cursor to the title  and  a drop down menu
  2701.         will appear.  To select an item move  the mouse cursor to
  2702.         the item and click the left mouse button.   A  drop  down
  2703.         menu will appear as long as you hold down the  left mouse
  2704.         button.   To select a menu item drag the cursor till  the
  2705.         item  you want    is  highlighted  and  release  the  mouse
  2706.         button.
  2707.  
  2708.     4.3.1    File
  2709.  
  2710.             This  menu is used  to    control  the  file  being
  2711.             edited in the window.
  2712.  
  2713.     4.3.1.1     New
  2714.  
  2715.                 Clears the current window.  If the window
  2716.                 contains  an  unsaved  file  a dialog box
  2717.                 will  appear  and  you    will be asked for
  2718.                 confirmation before the unsaved edits are
  2719.                 removed.
  2720.  
  2721.     4.3.1.2     Open..
  2722.  
  2723.                 Displays  a  file  selector dialog box.
  2724.                 The file you select in the box    is loaded
  2725.                 into the current buffer.
  2726.  
  2727.     4.3.1.2     Save
  2728.  
  2729.                 Saves the file in the current buffer onto
  2730.                 the  file  displayed after "File:" in the
  2731.                 top line of the window.
  2732.  
  2733.     4.3.1.3     Save as..
  2734.  
  2735.                 Displays a file selector dialog box.  The
  2736.                 contents of the buffer are saved onto the
  2737.                 file you select.  The file name displayed
  2738.                 after  "File:"    in  the  top line of  the
  2739.                 window is also changed to the name of the
  2740.                 file you selected.
  2741.  
  2742.     4.3.1.4     Insert..
  2743.  
  2744.                 Displays a file selector dialog box.  The
  2745.                 file  selected is included in the  buffer
  2746.                 at the current cursor position.
  2747.  
  2748.     4.3.1.5     Quit
  2749.  
  2750.                 Closes the current window.  If    there are
  2751.                 unchanged  buffers  you will be asked for
  2752.                 confirmation  before  the    session   is
  2753.                 terminated.  Sedt will terminate when the
  2754.                 last window is closed.
  2755.  
  2756.     4.3.2    Window
  2757.  
  2758.             The  window menu allows  you  to  switch  between
  2759.             buffers and to clear the contents of a window.
  2760.  
  2761.     4.3.2.1     Untitled
  2762.             Unused
  2763.             <File name>
  2764.  
  2765.                 Makes the window containing the indicated
  2766.                 buffer    the  currently    selected  window.
  2767.                 The menu item shows the  current state of
  2768.                 the window.  Untitled is an  open  window
  2769.                 with  no file associated with it.   <File
  2770.                 name>  is  the    name  of  the  file being
  2771.                 edited, and Unused is a closed window.
  2772.  
  2773.     4.3.2.2     Switch
  2774.  
  2775.                 Selects  the window you were in when  you
  2776.                 last selected a new window.
  2777.  
  2778.     4.3.3    Edit
  2779.  
  2780.             The edit menu allows you to  control the select
  2781.             region.
  2782.  
  2783.     4.3.3.1     Clear
  2784.  
  2785.                 Clears the select region.  This is useful
  2786.                 when you  have    accidentally  activated a
  2787.                 select region by  moving  the mouse while
  2788.                 holding the button down.
  2789.  
  2790.     4.3.3.2     Cut
  2791.  
  2792.                 Cuts the selected region  and saves it in
  2793.                 the paste buffer.
  2794.  
  2795.     4.3.3.3     Paste
  2796.  
  2797.                 Inserts the contents of the  paste buffer
  2798.                 at the text cursor position.
  2799.  
  2800.     4.3.4    Ruler
  2801.  
  2802.             Loads a saved ruler.
  2803.  
  2804.     4.3.4.1     Load <X>
  2805.  
  2806.                 Load saved ruler number <X>
  2807.  
  2808.     4.3.5    Help
  2809.  
  2810.             The help menu displays the interactive help menus
  2811.             in the current window.
  2812.     
  2813.     Copyright (c) Anker Berg-Sonne, 1985-1989
  2814.     Sedt Version 4.0 (254)
  2815.  
  2816.  
  2817.     5         Using the ATARI GEM version of Sedt
  2818.  
  2819.  
  2820.         Under  the  ATARI  GEM environment GSEDT.PRG  offers  the
  2821.     functionality  described  elsewhere  in  this  manual  with   the
  2822.     addition  of  sizable  and  movable windows, mouse control,  menu
  2823.     access    to  some  functions and access to desk accessories  while
  2824.     using Sedt.  The only function is spawning of subprocesses.
  2825.  
  2826.     5.1              Window Control
  2827.  
  2828.             When  you  first  enter  Sedt  it  will display a
  2829.         single window with a menu  bar, a move bar, a scroll bar,
  2830.         a full box and a size  box.    You  can  use any of these
  2831.         controls to move or resize the window.      You will notice
  2832.         that  every  time the window has been resized  Sedt  will
  2833.         ensure that the cursor is within the new window  and that
  2834.         no clipping takes place.  Sedt will not allow any portion
  2835.         of  the  window  to be outside the visible portion of the
  2836.         screen,  and  if  you  try,  it will resize the window to
  2837.         prevent this from happening.
  2838.  
  2839.             The initial window will display buffer 0.  As you
  2840.         open  other  buffers,  they  will  be  displayed  in  new
  2841.         windows  that  also  are initialized to full screen size.
  2842.         You can  display  the  contents  of  several  buffers  by
  2843.         resizing them and moving them to different screen areas.
  2844.  
  2845.     5.2              Mouse Control
  2846.  
  2847.             Normally the mouse  cursor  is    not visible.  You
  2848.         can make it visible  at any time by moving the mouse, and
  2849.         it  will  remain  visible  until  you  execute    the  next
  2850.         keyboard command.
  2851.  
  2852.             Apart from the normal mouse controls of the ATARI
  2853.     GEM windows and menus, you can also use the mouse to position the
  2854.     text cursor within the    visible  window and to select a region of
  2855.     text.
  2856.  
  2857.             To  position  the cursor, place the mouse pointer
  2858.         at the    character  position  you  want the cursor at, and
  2859.         click the left    button.    The    cursor    will  move to the
  2860.         selected position unless the  position    is further to the
  2861.         right than the last character  on  the    line, or past the
  2862.         end of the buffer.  If    the  selected position is further
  2863.         to the right than the end of  the line the cursor will be
  2864.         placed over the last character on the line.    If  it  is
  2865.         past the end of the buffer you will get an error message.
  2866.  
  2867.             If you select a point on  the  first or last line
  2868.         of the buffer the window will scroll one line.
  2869.  
  2870.             To  select a region of text move the mouse cursor
  2871.         to  the place where you want the text cursor to be  after
  2872.         the selection then push the left button on the mouse and,
  2873.         while holding the  button  down, drag the mouse cursor to
  2874.         the end of the    region you want to select and release the
  2875.         button.
  2876.  
  2877.             You can  clear    the select region by clicking the
  2878.         cursor on the select point.
  2879.  
  2880.     5.3               Menu Control
  2881.  
  2882.             The  menu  bar    will  display five titles:  Desk,
  2883.         File, Window, Select  and  Help.   To select any of these
  2884.         move the mouse cursor  to  the title and a drop down menu
  2885.         will appear.  To select  an item move the mouse cursor to
  2886.         the item and click the left mouse button.
  2887.  
  2888.     5.3.1    Desk
  2889.  
  2890.             This is  the  normal  desk  accessory menu with a
  2891.             selection at the top titled "About Sedt".
  2892.  
  2893.     5.3.1.1     About Sedt
  2894.  
  2895.                 Displays  in a dialog box the version  of
  2896.                 Sedt you are using.
  2897.  
  2898.     5.3.2    File
  2899.  
  2900.             Allows    you to control    the  file  shown  in  the
  2901.             currently selected window.
  2902.  
  2903.     5.3.2.1     Load..
  2904.  
  2905.                 Displays a file selector dialog box.  The
  2906.                 file you select in the box is loaded into
  2907.                 the current buffer.
  2908.  
  2909.     5.3.2.2     Save
  2910.  
  2911.                 Saves the file in the current buffer onto
  2912.                 the  file  displayed after "File:" in the
  2913.                 top line of the window.
  2914.  
  2915.     5.3.2.3     Save as..
  2916.  
  2917.                 Displays a file selector dialog box.  The
  2918.                 contents of the buffer are saved onto the
  2919.                 file you select.  The file name displayed
  2920.                 after  "File:"    in  the top line  of  the
  2921.                 window is also changed to the name of the
  2922.                 file you selected.
  2923.  
  2924.     5.3.2.4     Insert..
  2925.  
  2926.                 Displays a file selector dialog box.  The
  2927.                 file selected is included in  the  buffer
  2928.                 at the current cursor position.
  2929.  
  2930.     5.3.2.5     Quit
  2931.  
  2932.                 Closes the current window.  If    there are
  2933.                 unchanged  buffers  you will be asked for
  2934.                 confirmation  before  the    session   is
  2935.                 terminated.  Sedt will terminate when the
  2936.                 last window is closed.
  2937.  
  2938.     5.3.3    Window
  2939.  
  2940.             The  window menu allows  you  to  switch  between
  2941.             buffers and to clear the contents of a window.
  2942.  
  2943.     5.3.3.1     Untitled
  2944.             Unused
  2945.             <File name>
  2946.  
  2947.                 Makes the window containing the indicated
  2948.                 buffer    the  currently    selected  window.
  2949.                 The menu item shows the  current state of
  2950.                 the window.  Untitled is an  open  window
  2951.                 with  no file associated with it.   <File
  2952.                 name>  is  the    name  of  the  file being
  2953.                 edited, and Unused is a closed window.
  2954.  
  2955.     5.3.3.2     Switch
  2956.  
  2957.                 Selects  the window you were in when  you
  2958.                 last selected a new window.
  2959.  
  2960.     5.3.3.3     Clear
  2961.  
  2962.                 Erases the contents of a window.  If  the
  2963.                 window contains unsaved  changes you will
  2964.                 be asked whether you  want  to    save  the
  2965.                 changes before clearing the window.
  2966.  
  2967.     5.3.4    Select
  2968.  
  2969.             The select menu allows you to  control the select
  2970.             region.
  2971.  
  2972.     5.3.4.1     Clear
  2973.  
  2974.                 Clears the select region.  This is useful
  2975.                 when you  have    accidentally  activated a
  2976.                 select region by  moving  the mouse while
  2977.                 holding the button down.
  2978.  
  2979.     5.3.4.2     Cut
  2980.  
  2981.                 Cuts the selected region  and saves it in
  2982.                 the paste buffer.
  2983.  
  2984.     5.3.4.3     Paste
  2985.  
  2986.                 Inserts the contents of the  paste buffer
  2987.                 at the text cursor position.
  2988.  
  2989.     5.3.5    Ruler
  2990.  
  2991.             Loads a saved ruler.
  2992.  
  2993.     5.3.5.1     Load <X>
  2994.  
  2995.                 Load saved ruler number <X>
  2996.  
  2997.     5.3.6    Help
  2998.  
  2999.             The help menu displays the interactive help menus
  3000.             in the current window.
  3001.  
  3002.     5.3.6.1     Show
  3003.  
  3004.                 Show  the  interactive    help menus in the
  3005.                 currently active window.
  3006.     
  3007.     Copyright (c) Anker Berg-Sonne, 1985-1989
  3008.     Sedt Version 4.0 (254)
  3009.  
  3010.                   Sedt hints and tricks
  3011.  
  3012.     6.1 Using Sedt for programming
  3013.  
  3014.             A number of features in Sedt are designed to make
  3015.         programming  easier.      This    section  describes  these
  3016.         features and how best to take advantage of them.
  3017.  
  3018.         Autoindentation
  3019.  
  3020.             By setting the    ruler  for  automatic indentation
  3021.             (type  A anywhere on  the  ruler  when    in  ruler
  3022.             definition  mode)  Sedt  is  set   up  to  indent
  3023.             automatically to the level of the  line  you just
  3024.             terminated  after  you    type  a  <Return>.   This
  3025.             facility  makes  it  easy to write programs in    a
  3026.             structured  fashion with  the  indentation  level
  3027.             proportional to the level of nesting.
  3028.  
  3029.         Matching bracketing characters
  3030.  
  3031.             When  programming,  especially    in  C  and  LISP,
  3032.             nesting is often hard to  get  right.    Sedt will
  3033.             locate a matching bracket (', ",  <,  >, [, ], {,
  3034.             }, (, or )) if you position  the  cursor over the
  3035.             character  and    type <Gold> <F19>.  This facility
  3036.             can also  be  used  to    move over sections of the
  3037.             program.
  3038.  
  3039.         Compiling from within Sedt
  3040.  
  3041.             By defining a  key  to    save the current file and
  3042.             spawn  a  compiler  you  can  compile  a  program
  3043.             without leaving Sedt.  If  the compiler generates
  3044.             a listing of error messages, you  can  define the
  3045.             key to also load the listing in another buffer.
  3046.  
  3047.         Defining templates
  3048.  
  3049.             By using the lean key feature, you  can  define a
  3050.             series    of  keys in such a way that  they  insert
  3051.             templates for key language constructs.
  3052.  
  3053.     6.2 Using Sedt for text and documents
  3054.  
  3055.         Formatting
  3056.  
  3057.             Use word wrap  and right margin, either ragged or
  3058.             justified to format paragraphs    as  you type.  If
  3059.             you  make  changes  to    an    already    formatted
  3060.             paragraph, reformat the paragraph with <Gold>  J.
  3061.             It is a good idea to have  multiple stored rulers
  3062.             for different levels of indentation.
  3063.  
  3064.         Post processing
  3065.  
  3066.             Sedt is not a word processor and does not support
  3067.             many  features    such  as bolding and underlining.
  3068.             There  are,  however, a number of post processors
  3069.             that  together with Sedt will provide a more than
  3070.             acceptable word processing environment.  Define a
  3071.             key to save the file,  post  process  it and then
  3072.             print the final output.
  3073.  
  3074.         Spelling checkers
  3075.  
  3076.             Sedt  works  very  well  with  resident  spelling
  3077.             checkers  such    as Turbo Lightning on PC/DOS  and
  3078.             Thunder on the ATARI ST.  With a spelling checker
  3079.             and  thesaurus, you have a superb environment for
  3080.             producing documents.
  3081.  
  3082.     6.3 Repetitive tasks
  3083.  
  3084.             A number of tricks  can  be  used  to  facilitate
  3085.         tasks that require repetition of  a task many times.  The
  3086.         techniques are based on the ability to dynamically change
  3087.         key definitions.  Usually a combination of the techniques
  3088.         described lead to the optimal effort reduction.
  3089.  
  3090.         Using learned key sequences
  3091.  
  3092.             The  standard  technique  for  reexecuting  a key
  3093.             sequence is to type <Gold> <F17> at the  start of
  3094.             the sequence and terminate  the sequence with ^Z.
  3095.             The sequence can then be  replayed once by typing
  3096.             ^Z  and  many  times  by typing  <Gold>  <Number>
  3097.             ^Z.  <Number> is the number of times you  want to
  3098.             repeat    the  sequence  and  must  be typed on the
  3099.             regular typewriter keyboard.
  3100.  
  3101.         More advanced use of learned key sequences
  3102.  
  3103.             You can  learn keystrokes into other keys than ^Z
  3104.             by starting the  process  by  typing <Gold> <F18>
  3105.             and then typing the  key  you  want to learn into
  3106.             when prompted.    To exit  learning  mode  type the
  3107.             key you are learning into.  The learned keystroke
  3108.             sequence can be replayed by typing the    same  key
  3109.             again.
  3110.  
  3111.         Redefining complex keystroke sequences
  3112.  
  3113.             A very simple technique is to redefine a  command
  3114.             that  is  tied    to  a  complex key sequence to    a
  3115.             single keystroke.  You can very easily redefine a
  3116.             gold key sequence to a single keystroke by typing
  3117.             ^K, then the single  key you will tie the command
  3118.             to,  <Return>,    the old keystroke  sequence,  and
  3119.             finally <Return>.
  3120.  
  3121.         Using commands not tied to keys by default
  3122.  
  3123.             The default key definitions only use  a subset of
  3124.             Sedt's capabilities.    You  can  often  simplify
  3125.             tasks by taking  advantage  of the more extensive
  3126.             capabilities of the basic command set.
  3127.  
  3128.         Turning screen updates off
  3129.  
  3130.             When  a repetitive sequence  generates    extensive
  3131.             screen    updates it can be  simplified  by  taking
  3132.             advantage of the ability to turn  screen  updates
  3133.             off.
  3134.     
  3135.     6.4 Creating Menus
  3136.     
  3137.         Often, you  would  like  to  taylor  Sedt to more complex
  3138.         editing environments.    The command structure offers many
  3139.         opportunities to do this.  One way, which is not obvious,
  3140.         is described here.
  3141.     
  3142.         If you would like to  take  an    action    determined  by    a
  3143.         choice by the user, you can do    so  by    tying  a  command
  3144.         sequence like the following to a key:
  3145.     
  3146.     ^E(:FX|%e?"Enter document type L)etter, P)rogram, M)emo :"tpe.sed|)(:OM"Invalid menu selection").
  3147.     
  3148.         When the key is pressed the commands in  a file stored in
  3149.         Sedt's library area will be executed.  If L  is typed the
  3150.         file Ltpe.sed is selected.  P and M will execute Ptpe.sed
  3151.         and Mtpe.sed.
  3152.     
  3153.     6.5 Using different initialization files for different file types
  3154.     
  3155.         You can make  Sedt  initialize    itself    automatically for
  3156.         different file types by creating a SEDTCOM.TXT file with
  3157.     
  3158.         ^E(:FX\%E%T.INI\)(:OM"No initialization file").
  3159.     
  3160.         For any file type you edit Sedt will look for a file with
  3161.         the name <type>.INI in Sedt's  library    area.  If none is
  3162.         found, a message will be issued.
  3163.     
  3164.     Copyright (c) Anker Berg-Sonne, 1985-1989
  3165.     Sedt Version 4.0 (254)
  3166.     
  3167.     7              Customizing Keyboards
  3168.     
  3169.         Keyboard commands are defined by two files.  The keyboard
  3170.     map file defines how  keyboard    input  is  mapped  into  a set of
  3171.     predefined functions.  The predefined  functions are defined in a
  3172.     function definition file.  Both of  these  files  are in a binary
  3173.     format and must be created with a utility program called MAPKEY.
  3174.     
  3175.         The  keyboard  map files are unique for  every    keyboard,
  3176.     wheras    there  is  only  one  function definition file    for  each
  3177.     editing style (EDT or WPS).
  3178.     
  3179.     7.1 Function definition file
  3180.     
  3181.         Before    building a keyboard map file you need to build    a
  3182.     function  definition  file,  or print the contents of the one you
  3183.     want to  map  the  keyboard  to.   The Sedt distribution contains
  3184.     FUNDEF.INP, which is  the ASCII file used to create the EDT style
  3185.     function definition file FUNDEF.EDT.
  3186.     
  3187.         The format of this file is as follows:
  3188.     
  3189.             Comment lines  have  a    ;    as  the  very  first
  3190.         character of the line.
  3191.     
  3192.             Function  definitions  are   two  lines  with  NO
  3193.         comments allowed between the two.
  3194.     
  3195.             The first line has the format:
  3196.     
  3197.             <No> <Definition>
  3198.     
  3199.             Where <No> is the  number  that you have assigned
  3200.         to the function being defined,    and  <Definition>  is the
  3201.         function  definition.     The  contents    of    a  function
  3202.         definition  is    described  in  the next section  of  this
  3203.         manual.
  3204.     
  3205.             The second line is the help text assigned  to the
  3206.         function.
  3207.     
  3208.     7.2 Keyboard map file
  3209.     
  3210.         To create a keyboard map file you first need  to know the
  3211.     characters that each key sends.  This is done with  MAPKEY  using
  3212.     the command
  3213.     
  3214.     MAPKEY SCAN
  3215.     
  3216.         To exit  from  MAPKEY type an Escape character under DOS,
  3217.     OS/2, or ATARI ST and a control Z on all other systems.
  3218.     
  3219.         You  may find  that  some  keys  that  you  want  to  use
  3220.     differently send identical codes,  and    other  keys  transmit  no
  3221.     codes to the application.   Under  DOS    and  OS/2  you    have  the
  3222.     ability to bypass the keyboard firmware.    The codes transmitted
  3223.     to the firmware can be explored with MAPKEY typing
  3224.     
  3225.     MAPKEY SCAN
  3226.     
  3227.         You also exit from this mode by typing Escape.
  3228.     
  3229.         Once you know the codes transmitted by    all  keys you are
  3230.     ready to start building the ASCII file that  MAPKEY uses to build
  3231.     the keyboard map file.
  3232.     
  3233.         The input file has four sections:
  3234.     
  3235.             1:  Codes that the  firmware needs to be bypassed
  3236.             with.
  3237.     
  3238.             2:  Assignment of single keystroke  codes  to key
  3239.             numbers.
  3240.     
  3241.             3:  Assignment of multiple keystroke sequences to
  3242.             key numbers.
  3243.     
  3244.             4:  Mapping of keystrokes to function numbers.
  3245.     
  3246.         Section 1 contains a single line for each code    that  the
  3247.             firmware needs to be bypassed for in the firmat:
  3248.     
  3249.             S<Scancode> <Character>
  3250.     
  3251.                 or
  3252.     
  3253.             E<Scancode> <Character>
  3254.     
  3255.             <Scancode> is  the  scancode  value  that  MAPKEY
  3256.             printed and <Character>  is  the  ASCII character
  3257.             that  you have decided    to  assign  to    the  key.
  3258.             (ASCII character values are normally  assigned by
  3259.             the firmware).      E is used where MAPKEY informed
  3260.             you that the  scancode    is extended and S is used
  3261.             for normal scancodes.
  3262.     
  3263.             You should only enter values into this section if
  3264.             MAPKEY CHAR either doesn't return any value for a
  3265.             key, or if the    keystroke  generates an ambiguous
  3266.             code.  Failure to do  so  will result in problems
  3267.             accessing TSR programs from DOS and  also  create
  3268.             unnecessary overhead.
  3269.     
  3270.         Section  2  consists of a line containing the  text  KEYS
  3271.             followed by a line for each key number assignment
  3272.             you want to make.
  3273.     
  3274.             Each line has the format:
  3275.     
  3276.             S<Scancode> <Character> <Value>
  3277.             E<Scancode> <Character> <Value>
  3278.             A<Character> <Value>
  3279.     
  3280.             The S format is  used for normal scancodes, E for
  3281.             enhanced  scancodes,  and  A where  you  want  to
  3282.             assign a character to a key  value regardless the
  3283.             scancode.
  3284.     
  3285.             Where <Scancode> and <Character> are values given
  3286.             to you by MAPKEY or assigned in section 1 of this
  3287.             file,  and  <Value> is the  key  value    you  have
  3288.             assigned to the key.  Sedt  uses  some key values
  3289.             internally,  and  you  should  use  the following
  3290.             meanings  for  the  values given in the following
  3291.             table:
  3292.     
  3293.             1        <F1>
  3294.             2        <F2>
  3295.             3        <F3>
  3296.             4        <F4>
  3297.             5        <F5>
  3298.             6        <F6>
  3299.             7        <F7>
  3300.             8        <F8>
  3301.             9        <F9>
  3302.             10        <F10>
  3303.             11        <F11>
  3304.             12        <F12>
  3305.             13        <F13>
  3306.             14        <F14>
  3307.             15        <F15>
  3308.             16        <F16>
  3309.             17        <F17>
  3310.             18        <F18>
  3311.             19        <F19>
  3312.             20        <F20>
  3313.             21        <Find>
  3314.             22        <Insert Here>
  3315.             23        <Remove>
  3316.             24        <Select>
  3317.             25        <Prev Screen>
  3318.             26        <Next Screen>
  3319.             27        <Up Arrow>
  3320.             28        <Left Arrow>
  3321.             29        <Down Arrow>
  3322.             30        <Right Arrow>
  3323.             31        <Keypad 0>
  3324.             32        <Keypad 1>
  3325.             33        <Keypad 2>
  3326.             34        <Keypad 3>
  3327.             35        <Keypad 4>
  3328.             36        <Keypad 5>
  3329.             37        <Keypad 6>
  3330.             38        <Keypad 7>
  3331.             39        <Keypad 8>
  3332.             40        <Keypad 9>
  3333.             41        <Keypad ,>
  3334.             42        <Keypad ->
  3335.             43        <Keypad .>
  3336.             44        <Keypad PF1>
  3337.             45        <Keypad PF2>
  3338.             46        <Keypad PF3>
  3339.             47        <Keypad PF4>
  3340.             48        <Keypad Enter>
  3341.             49        <Backspace>
  3342.             50        <Return>
  3343.  
  3344.             Any  other  key numbers are freely assignable and
  3345.             carry no special meaning.
  3346.     
  3347.         Section 3  consists  of  a  line  containing  the    text
  3348.             COMBINATIONS followed by a number of lines of the
  3349.             following formats
  3350.     
  3351.             <Level> E<Scancode> <Character>
  3352.             <Level> S<Scancode> <Character>
  3353.             <Level> A<Character>
  3354.             <Level> K<Key>
  3355.             <Level> E<Scancode> <Character> <Key #> <Help text>
  3356.             <Level> S<Scancode> <Character> <Key #> <Help text>
  3357.             <Level> A<Character> <Key #> <Help text>
  3358.             <Level> K<Key> <Key #> <Help text>
  3359.     
  3360.             <Level> designates the number of the keystroke in
  3361.             the sequence.
  3362.     
  3363.             E<Scancode>    <Character>    is   an     extended
  3364.             scancode/character combination.
  3365.     
  3366.             S<Scancode>     <Character>    is    a    normal
  3367.             scancode/character combination.
  3368.     
  3369.             A<Character> is any ASCII character.
  3370.     
  3371.             K<Key> is a key number assigned  in  the previous
  3372.             section.
  3373.     
  3374.             For the final character in a sequence <Key  #> is
  3375.             the  key  nymber  you  assign to the sequence and
  3376.             <Help  Text>  is  the  help  text  to  be used in
  3377.             interactive help.
  3378.     
  3379.             To  describe a sequence consisting of ^A^B  which
  3380.             you want to assign as key number 99  and give the
  3381.             help text ^A^B to include:
  3382.     
  3383.             1 A1
  3384.             2 A2 99 ^A^B
  3385.     
  3386.             To describe  two  sequences  consisting of ^A^B^C
  3387.             and ^A^B^D and    assign them to key bumbers 99 and
  3388.             100 include:
  3389.     
  3390.             1 A1
  3391.             2 A2
  3392.             3 A3 99 ^A^B^C
  3393.             4 A4 100 ^A^B^D
  3394.     
  3395.             Two sequences consisting of ^A^B^C^D and ^A^B^D^E
  3396.             would be described as:
  3397.     
  3398.             1 A1
  3399.             2 A2
  3400.             3 A3
  3401.             4 A4 99 ^A^B^C^D
  3402.             3 A4
  3403.             4 A5 100 ^A^B^D^E
  3404.     
  3405.             As you can see, you are building a tree structure
  3406.             where  common  root  sequences are only  included
  3407.             once. You must follow this scheme.
  3408.     
  3409.         Section 4 consists of a line containing the text MAPS and
  3410.             a number of lines in the following formats:
  3411.     
  3412.             <Number> S<Scancode> <Character> <Function> <Help Text>
  3413.             <Number> E<Scancode> <Character> <Function> <Help Text>
  3414.             <Number> A<Character> <Function> <Help Text>
  3415.             <Number> K<Key> <Function> <Help Text>
  3416.             <Number> G S<Scancode> <Character> <Function> <Help Text>
  3417.             <Number> G E<Scancode> <Character> <Function> <Help Text>
  3418.             <Number> G A<Character> <Function> <Help Text>
  3419.             <Number> G K<Key> <Function> <Help Text>
  3420.     
  3421.             <Number> is the index into the table.  This index
  3422.             is  used by several commands that reference keys.
  3423.             It  is    suggested  that  you  number  all entries
  3424.             sequentially starting with 0.
  3425.     
  3426.             G just    after  <Number>  means    that this mapping
  3427.             value  applies when  the  <Gold>  key  was  typed
  3428.             immediatly before the key generating the entry.
  3429.     
  3430.             <Scancode>,  <Character>,  and    <Key> define  the
  3431.             key.  
  3432.     
  3433.             <Function> specifies the function  the    key is to
  3434.             assigned  to.     A function number of  0  or  the
  3435.             letter    G means that the key being defined  is    a
  3436.             <Gold> key.
  3437.     
  3438.             <Help Text> is the help text  assigned to the key
  3439.             or key sequence.
  3440.     
  3441.             Sedt  searches    all  of these tables sequentially
  3442.         from the  start  to  the  finish.   You must take care to
  3443.         ensure that an    A<Character> entry is not placed before a
  3444.         S<Scancode> <Character> or E<Scancode>    <Character>  with
  3445.         the same character value.   You  must also place a K<Key>
  3446.         entry before any entry that might produce a match for the
  3447.         same  character.    It is helpful to  start  with  all    K
  3448.         entries,  followed  by    all  E    and  S    entries,  finally
  3449.         followed by all A entries.
  3450.     
  3451.     7.3    MAPKEY Program
  3452.     
  3453.         The MAPKEY program is  used  to maintain keyboard map and
  3454.     function definition files.
  3455.     
  3456.     MAPKEY Commands:
  3457.     
  3458.         MAPKEY SCAN
  3459.     
  3460.             Prints scancodes for keys pressed.   This command
  3461.             bypasses  the  firmware and prints scancodes  for
  3462.             all keys, even those that normally are trapped by
  3463.             the firmware. To terminate MAPKEY type Esc.
  3464.     
  3465.         MAPKEY CHAR
  3466.     
  3467.             Prints    scancode  and  character  values for keys
  3468.             pressed.  This command shows the keypresses after
  3469.             they are processed by the firmware.  To terminate
  3470.             MAPKEY type Esc.
  3471.     
  3472.         MAPKEY COMPILE KEYS <ASCII file> <Binary file>
  3473.     
  3474.             Comverts  an ASCII keyboard  map  file    into  the
  3475.             binary format required by Sedt.
  3476.     
  3477.         MAPKEY DUMP KEYS <Binary file> <ASCII file>
  3478.     
  3479.             Converts  a  binary  keyboard map  file  into  an
  3480.             editable ASCII format suitable for input  to  the
  3481.             COMPILE KEYS command.
  3482.     
  3483.         MAPKEY TEST <ASCII file>
  3484.     
  3485.             Reads  a file suitable for input to  the  COMPILE
  3486.             KEYS command and displays how Sedt will interpret
  3487.             keystrokes. To terminate MAPKEY type Esc.
  3488.     
  3489.         MAPKEY COMPILE FUNCTIONS <ASCII file> <Binary file>
  3490.     
  3491.             Converts an  ASCII  function definition file into
  3492.             the binary format expected by Sedt.
  3493.     
  3494.         MAPKEY DUMP FUNCTIONS <Binary file> <ASCII file>
  3495.     
  3496.             Converts a function definition file in the binary
  3497.             format required by Sedt  into  an  editable ASCII
  3498.             format    suitable  for  input  to    the   COMPILE
  3499.             FUNCTIONS command.
  3500.     
  3501.     Copyright (c) Anker Berg-Sonne, 1985-1989
  3502.     Sedt Version 4.0 (254)
  3503.     
  3504.     8                Help File
  3505.     
  3506.         The  help file is designed to create  a  tree  structured
  3507.     menu of help screens.  The first few characters of every line are
  3508.     used to drive the menu structure.
  3509.     
  3510.     Space        Lines  starting with space are displayed  on  the
  3511.             screen    and  constitute the normal output, either
  3512.             help text or menu screens.
  3513.     
  3514.     Character    Lines  starting  with any other character defines
  3515.             the menu  structure.   The first character is the
  3516.             first level selection.     Lines starting with just
  3517.             this character come just before the first line of
  3518.             output for this level.     Lines with more than one
  3519.             character define inner menus.
  3520.     
  3521.         Inside    the help text a number    of  tokens  are  allowed.
  3522.     Each  token starts with a % character.      A  special  token,  %%,
  3523.     leaves a single % character in the help text.
  3524.     
  3525.     %F<Number>    Inserts  the  help  text  for the first key found
  3526.             that points to the function number given.
  3527.     
  3528.     %T<Number>    Inserts the  help  text  for  the  given function
  3529.             number.
  3530.                         
  3531.         %A<Number>      Inserts the  help  text  for all keys that map to
  3532.                         the given function number.  Multiple help strings
  3533.                         are separated by commas and spaces.
  3534.     
  3535.     %C<Number>    Advances the cursor to the given column.
  3536.     
  3537.     %K        Inserts the contents of the keyboard map file.
  3538.     
  3539.     Copyright (c) Anker Berg-Sonne, 1985-1989
  3540.     Sedt Version 4.0 (254)
  3541.  
  3542.                 Reference Manual
  3543.  
  3544.     9.1          Interpreting Keyboard Input
  3545.  
  3546.         Whenever  a  control  character, a function key or a  key
  3547.     preceded  by  <Gold>  is  typed Sedt will translate the keystroke
  3548.     into  a  series  of  internal  commands.  The mapping of keys  to
  3549.     internal  commands is defined by a key definition file and can be
  3550.     modified during the editing session.
  3551.  
  3552.         This chapter describes    the  syntax for internal commands
  3553.     and describes the sequence of events between typing a key and the
  3554.     effect of the command being displayed on the terminal.
  3555.  
  3556.         Sedt understands a large variety  of commands and command
  3557.     combinations that have not been tied  to  any keys.  To take full
  3558.     advantage  of  Sedt's  power  you  will need  to  understand  the
  3559.     internal command structure.
  3560.  
  3561.     9.2             Translating Keystrokes
  3562.  
  3563.         When a key is typed the commands tied  to the key will be
  3564.     written  to  an  internal buffer.  If the command string  is  not
  3565.     terminated by a period the command sequence will be stored and    a
  3566.     new  key  will    be  read.    This  continues  until a key with    a
  3567.     definition terminated by a period is typed.  This facilitates the
  3568.     use of multiple keystrokes to input a command sequence.
  3569.  
  3570.         The next  step    is  to scan the command string for tokens
  3571.     and prompts.   Tokens  are  replaced by the value of the token at
  3572.     the time of scanning  and  prompts  will  be  displayed  and then
  3573.     replaced by the response to  the  prompts.  The recognized tokens
  3574.     and prompt strings are:
  3575.  
  3576.         ? will cause SEDT to expect the following syntax:
  3577.  
  3578.             ?<delimiter><string><delimiter>
  3579.  
  3580.         where  <delimiter>  is    any ASCII character.   SEDT  will
  3581.         display  <string> on the bottom line of the  display  and
  3582.         then accept input from the keyboard.
  3583.  
  3584.         ! will cause SEDT to expect the following syntax:
  3585.  
  3586.             !<delimiter><string><delimiter>
  3587.  
  3588.         where <delimiter>  is  any  ASCII  character.    SEDT will
  3589.         display <string> on  the  bottom  line of the display and
  3590.         wait for a key or <Gold>  followed by a key to be struck.
  3591.         A  unique  ASCII  representation  for  the  key  will  be
  3592.         inserted  in  the  command  string  instead of the  above
  3593.         construct.
  3594.  
  3595.         % must be followed by one of  the  following  characters:
  3596.             %, #, F, N, E, L, C, T, D, P, or W.
  3597.  
  3598.             %% is replaced by a single %.
  3599.  
  3600.             %#<Letter>  is replaced by the current    value  of
  3601.             the  counters controlled by :CNS, :CNI and  :CNP.
  3602.             <Letter> must be in the range A to Z.
  3603.  
  3604.             %F is replaced by the name of the  output file of
  3605.             the current buffer being edited.
  3606.  
  3607.             %N is replaced by the name of the output  file of
  3608.             the current buffer being edited,  up  to, but not
  3609.             including, the first period.
  3610.  
  3611.             %T is  replaced  by  the file type, including the
  3612.             leading period, of the output file of the current
  3613.             buffer.
  3614.  
  3615.             %D  is    replaced  by  the  device  and    directory
  3616.             specification of the output file  of  the current
  3617.             buffer.
  3618.  
  3619.             %E  is    only  supported on VMS and MS-DOS,  OS/2,
  3620.             ATARI ST, and UNIX.  On VMS it will  be  replaced
  3621.             by the string Sedt$Library:, and on MS-DOS, OS/2,
  3622.             ATARI  ST, and UNIX by    the  value  of    the  SEDT
  3623.             environment variable.
  3624.     
  3625.             %A  is only supported on VMS  and  MS-DOS,  OS/2,
  3626.             ATARI ST, and UNIX.  On VMS  it  will be replaced
  3627.             by the    string    Sedt$Dir:,  and  on MS-DOS, OS/2,
  3628.             ATARI ST, and  UNIX  by  the  value  of the SEDTP
  3629.             environment variable.
  3630.  
  3631.             %L is replaced by the current line number.
  3632.  
  3633.             %C is replaced by the current character position.
  3634.  
  3635.             %P is  replaced  by  the  contents  of    the paste
  3636.             buffer
  3637.                         
  3638.                         %W is replaced by the current cursor column.
  3639.  
  3640.     9.3             Command Syntax
  3641.  
  3642.         Once  the  command  string has been  preprocessed  it  is
  3643.     interpreted as a  series of commands.  This chapter describes all
  3644.     SEDT commands.     For  some  examples  of  how keys are programmed
  3645.     study the keyboard definition file supplied with Sedt.
  3646.  
  3647.         If an  error  occurs during execution of a command string
  3648.     all commands following the one that the error occurred in will be
  3649.     skipped.  Also, if  the  command  was  in  a  series  of commands
  3650.     enclosed in parentheses preceded by a  count  the parentheses are
  3651.     exited and further iterations skipped.
  3652.  
  3653.         SEDT  commands    may  be    grouped  by    placing  them  in
  3654.     parentheses.    A count in  front  of  a  group  of  commands  in
  3655.     parentheses causes the group to be  repeated  the number of times
  3656.     given in the count.
  3657.  
  3658.         It is also possible to execute commands conditionally.
  3659.  
  3660.         ^C(<Commands>)    causes    <Commands> to be executed only if
  3661.         the current buffer contains unsaved changes.
  3662.  
  3663.         ^C(<Commands1>|<Commands2>)   causes  <Commands1>  to  be
  3664.         executed  if  the  buffer  contains  unsaved changes  and
  3665.         <Commands2> to executed if the buffer is unchanged.
  3666.  
  3667.         ^E(<Commands1>)(<Commands2>)  causes  <Commands1>  to  be
  3668.         executed.  If any  error  occurs during the execution the
  3669.         rest of <Commands1> will be skipped and  <Commands2> will
  3670.         be  executed.  <Commands2> string is ignored if no  error
  3671.         occurs.
  3672.  
  3673.         ^E(<Commands1>)(<Commands2>|<Commands3>)    will  execute
  3674.         <Commands1>.   If an error occurs the rest of <Commands1>
  3675.         will be skipped  and  then  <Commands2> will be executed,
  3676.         otherwise  <Commands3> is executed  after  completion  of
  3677.         <Commands1>.
  3678.  
  3679.         ^S(<Commands>) causes  <Commands>  to be executed only if
  3680.         there is a select region active.
  3681.  
  3682.         ^S(<Commands1>|<Commands2>)   causes  <Commands1>  to  be
  3683.         executed if a select region is    active.    If  no  select
  3684.         region is active <Commands2> will be executed>.
  3685.  
  3686.         To save a flag    and  have  it  restored  after    a command
  3687.     sequence you bracket the command sequence and precede it with one
  3688.     of the following commands:
  3689.  
  3690.         ^TB(<commands>)  Saves     the  block/line  mode    flag  and
  3691.             restores it after <commands> have been executed.
  3692.  
  3693.         ^TD(<commands>) Saves the direction flag and restores  it
  3694.             after <commands> have been executed.
  3695.  
  3696.         ^TI(<commands>)  Saves    the  replace/insert mode flag and
  3697.             restores it after <commands> have been executed.
  3698.  
  3699.         ^TK(<commands>)  Saves    the  the  typewriter key  command
  3700.             execution  flag  and restores it after <commands>
  3701.             have been executed.
  3702.     
  3703.         ^TT(<commands>) Saves the  the tab insert/expand flag and
  3704.             restores it after <commands> have been executed.
  3705.     
  3706.         ^TU(<commands>) Saves  the  the case sensitivity flag and
  3707.             restores it after <commands> have been executed.
  3708.     
  3709.         ^TX(<commands>)  Saves    the   the  state  of  inserting
  3710.                         function definitions in  prompts  and restores it
  3711.                         after <commands> have been executed.
  3712.     
  3713.         The    following    construct     will    execute  commands
  3714.     conditionally depending on the value of a toggle:
  3715.  
  3716.         ^IB(<commands>) Executes <commands>  if  cut  operates in
  3717.             line mode.
  3718.     
  3719.         ^IB(<commands1>|<commands2>) Executes  <commands1> if cut
  3720.             operates  in  line mode and  <commands2>  if  cut
  3721.             operates in block mode.
  3722.  
  3723.         ^ID(<commands>)  Executes    <commands>  if  the  default
  3724.             direction is forward.
  3725.     
  3726.         ^ID(<commands1>|<commands2>) Executes <commands1>  if the
  3727.             default direction is forward  and  <commands2> if
  3728.             the default direction is reverse.
  3729.  
  3730.         ^II(<commands>) Executes  <commands>  if  characters  are
  3731.             inserted when typed.
  3732.         
  3733.         ^II(<commands1>|<commands2>)  Executes    <commands1>    if
  3734.             typed characters are inserted and <commands2>  if
  3735.             typed characters replace existing text.
  3736.  
  3737.         ^IK(<commands>) Executes  <commands>  if typed typewriter
  3738.             key command execution is done.
  3739.     
  3740.         ^IK(<commands1>|<commands2>)  Executes    <commands1>    if
  3741.             typewriter  key  commands    are    executed  and
  3742.             <commands2> if they are not executed.
  3743.  
  3744.         ^IT(<commands>)    Executes    <commands>  if  typed  tab
  3745.             characters are expanded to spaces.
  3746.     
  3747.         ^IT(<commands1>|<commands2>)  Executes    <commands1>    if
  3748.             typed tab characters are  expanded  to spaces and
  3749.             <commands2> if types tab characters are inserted.
  3750.  
  3751.         ^IU(<commands>) Executes <commands> if searches  are case
  3752.             insensitive.
  3753.     
  3754.         ^IU(<commands1>|<commands2>)  Executes      <commands1>  if
  3755.             searches are case insensitive and  <commands2> if
  3756.             searches are case sensitive.
  3757.  
  3758.         ^IX(<commands>)    Executes    <commands>  if    function
  3759.                         definitions are inserted in responses to prompts.
  3760.     
  3761.         ^IX(<commands1>|<commands2>)  Executes      <commands1>  if
  3762.             functio definitions are inserted in  responses to
  3763.                         prompts and <commands2> if they are not.
  3764.  
  3765.         SEDT commands are alphanumeric strings preceded by either
  3766.     the  symbol  @    or  :.    Commands preceded by @    define    a  cursor
  3767.     position and normally move the cursor to the position the command
  3768.     defines.    Commands preceded by :    are  action  commands  that
  3769.     perform a change on the file being  edited  or change the editing
  3770.     environment.  Some action commands must be followed by a position
  3771.     command that defines the range of text that the command acts on.
  3772.  
  3773.         All  commands  can  be preceded by a direction    indicator
  3774.     and/or a count.  Not all commands use the  direction indicator or
  3775.     count.     Those that do have the direction indicator or    count  in
  3776.     the syntactical description.
  3777.  
  3778.         The direction indicator is one of +, -, <  or >.  + and >
  3779.     set  the  current  direction  to  be  forward,    toward    the  last
  3780.     character in the buffer.  - and < set the current direction to be
  3781.     backward, toward  the  first  character  in  the  buffer.   If no
  3782.     direction indicator is    provided the command will use the default
  3783.     direction, which initially is forward but can be changed with the
  3784.     commands :A and :B.
  3785.  
  3786.         Count  is either a string of  decimal  digits  optionally
  3787.     followed  by  a dollar sign, $, and  another  string  of  decimal
  3788.     digits,  or a dollar sign, $, followed by  a  string  of  decimal
  3789.     digits.  If no dollar sign is in the count, or it  starts  with a
  3790.     dollar sign, it is interpreted    as  the  decimal value defined by
  3791.     the string.  If the count  contains  a    dollar    sign  between two
  3792.     decimal strings it is interpreted at the decimal value defined by
  3793.     the first string.  If no count is  given  the  command will use a
  3794.     count of one.  This feature allows you to program a key to have a
  3795.     default count by starting the  definition  with $<count>;  If the
  3796.     user supplies a count, it will override the one after $.
  3797.  
  3798.             $10    returns the count 10
  3799.             20$30    returns the count 20
  3800.             40    returns the count 40
  3801.  
  3802.     9.4                Commands
  3803.  
  3804.     9.4.1.1                @AC
  3805.  
  3806.                    Absolute Character
  3807.  
  3808.     Syntax:     {<Count>}@AC
  3809.  
  3810.     Semantics:    Move  the  cursor    to  the  absolute    character
  3811.             position <Count> in the current buffer.
  3812.  
  3813.     9.4.1.2                @AL
  3814.  
  3815.                  Absolute Line
  3816.  
  3817.     Syntax:     {<Count>}@AL
  3818.  
  3819.     Semantics:    Move the cursor to  the  start    of  absolute line
  3820.             <Count> in the current buffer.
  3821.  
  3822.     9.4.1.3                @BB
  3823.  
  3824.                   Beginning of Buffer
  3825.  
  3826.     Syntax:     @BB
  3827.  
  3828.     Semantics:    Move the cursor to the    first  character  in  the
  3829.             current buffer.
  3830.  
  3831.     9.4.1.4                @BM
  3832.  
  3833.               Matching Bracketing Character
  3834.  
  3835.     Syntax:     @BM
  3836.  
  3837.     Semantics:    Move the  cursor to the matching character if the
  3838.             character under the  cursor  is one of:  ', ", <,
  3839.             >, [, ], {, }, (, or ).  ' and " are searched for
  3840.             in  the  current  direction, the  others  in  the
  3841.             direction the character implies.
  3842.  
  3843.     9.4.1.5                @EB
  3844.  
  3845.                  End of Buffer
  3846.  
  3847.     Syntax:     @EB
  3848.  
  3849.     Semantics:    Move the cursor to the end of the current buffer.
  3850.             The cursor  position will be right after the last
  3851.             character in the buffer.
  3852.  
  3853.     9.4.1.6                @EL
  3854.  
  3855.                   End of Line
  3856.  
  3857.     Syntax:     <Count>@EL
  3858.  
  3859.     Semantics:    Move the cursor to  the  next  end of line in the
  3860.             current  direction.    The end    of  line  is  the
  3861.             position  to  the  immediate  right of    the  last
  3862.             character in the line.     0+@EL    is a special case
  3863.             which  always  stays at the end  of  the  current
  3864.             line.
  3865.  
  3866.     9.4.1.7                @C
  3867.  
  3868.                    Character
  3869.  
  3870.     Syntax:     {+|-|<|>}{<Count>}@C
  3871.  
  3872.     Semantics:    Move the cursor <Count> characters in the current
  3873.             direction.  The end of line terminator is counted
  3874.             as a  character.
  3875.  
  3876.     9.4.1.8                @F
  3877.  
  3878.                       Find
  3879.  
  3880.     Syntax:     {+|-|<|>}{<Count>}@F<Delimiter><String><Delimiter>
  3881.  
  3882.     Semantics:    If  the  <String>  is not empty load it  into  an
  3883.             internal buffer called the current search string.
  3884.             The  search  for  an  occurrence  of  the current
  3885.             search    string in the current direction and place
  3886.             the  cursor  over  the    first  character  in  the
  3887.             occurrence.  The search is case insensitive.
  3888.  
  3889.     9.4.1.9                @L
  3890.  
  3891.                       Line
  3892.  
  3893.     Syntax:     {+|-|<|>}{<Count>}@L
  3894.  
  3895.     Semantics:    Move  the  cursor to the <Count>'th start of line
  3896.             in  the  current direction.  The start of line is
  3897.             the  first   character    on  the  line,    blank  or
  3898.             non-blank.  0-@L is  a    special case, which stays
  3899.             at the beginning of the current line.
  3900.  
  3901.     9.4.1.10               @M
  3902.  
  3903.                       Mark
  3904.  
  3905.     Syntax:     {<Count>}@M
  3906.  
  3907.     Semantics:    Move  the  cursor  to  the  position  in the file
  3908.             where the  cursor  was when a :M command with the
  3909.             same count was executed last.  Valid counts are 1
  3910.             through 10.  An error message is  displayed if an
  3911.             invalid  count is given or a :M command  has  not
  3912.             previously been executed with the same count.
  3913.  
  3914.     9.4.1.11               @N
  3915.  
  3916.                       Next
  3917.  
  3918.     Syntax:     {+|-|<|>}{<Count>}@N
  3919.  
  3920.     Semantics:    Move  the cursor to the <Count>'th occurrence  in
  3921.             the current direction of the string last given in
  3922.             an  @F    command.   The cursor is placed over  the
  3923.             first character  of  the  string.   The search is
  3924.             case insensitive.
  3925.  
  3926.     9.4.1.12              @PAG
  3927.  
  3928.                       Page
  3929.  
  3930.     Syntax:     {+|-|<|>}{<Count>}@PAG
  3931.  
  3932.     Semantics:    Move  the cursor to the first character after the
  3933.             <Count>'th ASCII  <FF>    in the current direction.
  3934.             If  there  are    <Count>-1  ASCII  <FF>'s  in  the
  3935.             current direction the cursor  will  be    placed at
  3936.             the beginning of the file  if  the  direction  is
  3937.             backwards  or  at  the end of  the  file  if  the
  3938.             direction is forward.
  3939.  
  3940.     9.4.1.13              @PAR
  3941.  
  3942.                    Paragraph
  3943.  
  3944.     Syntax:     {+|-|<|>}{<Count>}@PAR
  3945.  
  3946.     Semantics:    Move  the  cursor  to  the  <Count>'th    start  of
  3947.             paragraph in the current direction.  If there are
  3948.             exactly  <Count>-1 beginning  of  paragraphs  the
  3949.             cursor will be placed  at  the    beginning  of the
  3950.             file if the direction is  backward  or at the end
  3951.             of  the  file if the direction    is  forward.    A
  3952.             beginning  of  paragraph  is a sequence of  ASCII
  3953.             space, tab and line feeds containing at least two
  3954.             line  feeds.   The cursor is placed on the  first
  3955.             character after  the  string  of spaces, tabs and
  3956.             line feeds.
  3957.  
  3958.     9.4.1.14              @SCR
  3959.  
  3960.                       Screen
  3961.  
  3962.     Syntax:     {+|-|<|>}{<Count>}@SCR
  3963.  
  3964.     Semantics:    Move <Count> times one    less  than  the number of
  3965.             lines in the current window  lines in the current
  3966.             direction.
  3967.  
  3968.  
  3969.     9.4.1.15              @SEN
  3970.  
  3971.                     Sentence
  3972.  
  3973.     Syntax:     {+|-|<|>}{<Count>}@SEN
  3974.  
  3975.     Semantics:    Move to the  <Count>'th  start of sentence in the
  3976.             current direction.  A  start  of  sentence is the
  3977.             first character after a string    of  ASCII spaces,
  3978.             tabs, line feeds,  <.>,  <;>,  <?>,  <!>,  or <:>
  3979.             containing  exactly one line feed, <.>, <;>, <?>,
  3980.             <!>,  or  <:>  .  If there are exactly    <Count>-1
  3981.             sentences  the cursor will be placed at the start
  3982.             of the    file  if the direction is backwards or at
  3983.             the end of the file if the direction is forward.
  3984.  
  3985.     9.4.1.16               @SR
  3986.  
  3987.                   Select Range
  3988.  
  3989.     Syntax:     @SR
  3990.  
  3991.     Semantics:    Move the cursor to the    point  the  cursor was at
  3992.             the last time a :SEL command  was  executed.   An
  3993.             error message is displayed if a :SEL command  has
  3994.             not been executed.
  3995.  
  3996.     9.4.1.17               @V
  3997.  
  3998.                     Vertical
  3999.  
  4000.     Syntax:     {+|-|<|>}{<Count>}@V
  4001.  
  4002.     Semantics:    Move  the  cursor  <Count>  lines  in the current
  4003.             direction.   SEDT attempts to position the cursor
  4004.             at the same  column as the cursor was at before a
  4005.             series of @V commands were issued.  The cursor is
  4006.             never placed further to the right than one column
  4007.             to the right of the last character on a line.  If
  4008.             the    line  contains  ASCII  tab  characters  or
  4009.             characters    that    SEDT     represents    with
  4010.             multi-character sequences it may  not  be able to
  4011.             position at exactly the same column.
  4012.  
  4013.             A series of these commands will  attempt  to keep
  4014.             the cursor at the column it was at when the first
  4015.             command was executed.
  4016.  
  4017.     9.4.1.18               @W
  4018.  
  4019.                       Word
  4020.  
  4021.     Syntax:     {+|-|<|>}{<Count>}@W
  4022.  
  4023.     Semantics:    Move  the  cursor <Count> words  in  the  current
  4024.             direction.    A  word is either  an  alphanumeric
  4025.             string    containing  underscores  <_> or printable
  4026.             ASCII characters or  a    single    non-alphanumeric,
  4027.             printable  ASCII  character.      The  cursor  is
  4028.             positioned over the first character in the word.
  4029.  
  4030.     9.4.1.19              @XNM
  4031.  
  4032.                     Next Mark
  4033.  
  4034.     Syntax:     @XNM
  4035.  
  4036.     Semantics:    Move to  the next marked position.  The next mark
  4037.             is the closest    in  the  current  direction.   An
  4038.             error is caused if there are no more marks in the
  4039.             current direction.
  4040.  
  4041.     9.4.1.20              @XSR
  4042.  
  4043.                Select Range with no clear
  4044.  
  4045.     Syntax:     @XSR
  4046.  
  4047.     Semantics:    Exactly the same as @SR, but the select region is
  4048.             not cleared.
  4049.  
  4050.     9.4.2.1                    :A
  4051.  
  4052.                     Advance
  4053.  
  4054.     Syntax:     :A
  4055.  
  4056.     Semantics:    Set  the default  direction  for  cursor-movement
  4057.             commands to be    forward  toward  the  end  of the
  4058.             file.
  4059.  
  4060.             The default direction is displayed  on    the  mode
  4061.             line of the display.
  4062.  
  4063.     9.4.2.2                :B
  4064.  
  4065.                     Backward
  4066.  
  4067.     Syntax:     :B
  4068.  
  4069.     Semantics:    Set  the  default  direction for  cursor-movement
  4070.             commands to be backward  toward  the start of the
  4071.             file.
  4072.  
  4073.             The  default direction is displayed on    the  mode
  4074.             line of the display.
  4075.  
  4076.     9.4.2.3                :CB
  4077.  
  4078.                  Cursor at Bottom
  4079.  
  4080.     Syntax:     :CB
  4081.  
  4082.     Semantics:    Scrolls the  current  window  to place the cursor
  4083.             line at the  next to last line in the window.  Is
  4084.             only available in full screen editing mode.
  4085.  
  4086.     9.4.2.4                :CC
  4087.  
  4088.                   Change Case
  4089.  
  4090.     Syntax:     :CC<@ command>
  4091.  
  4092.     Semantics:    Switch    all  lower  case characters to upper case
  4093.             and  all upper case characters to lower case from
  4094.             the  current  cursor  position    to  the  position
  4095.             defined by the @ command.
  4096.  
  4097.     9.4.2.5                :CD
  4098.  
  4099.                   Change to Lower case
  4100.  
  4101.     Syntax:     :CD<@ command>
  4102.  
  4103.     Semantics:    Change all upper  case    characters  to lower case
  4104.             from the current cursor  position to the position
  4105.             defined by the @ command.
  4106.  
  4107.     9.4.2.6                :CE
  4108.  
  4109.                  Change Case Edt Style
  4110.  
  4111.     Syntax:     <Count>:CE
  4112.  
  4113.     Semantics:    Change    the  case  of     alphabetic    characters
  4114.             according to the following rules:
  4115.  
  4116.             If  a  select range is    active    change    the  case
  4117.             within the select range.  Otherwise,  if the last
  4118.             command  was a search command change the case  of
  4119.             the string found by the search.  Otherwise change
  4120.             the case  of  <Count>  characters from the cursor
  4121.             position.
  4122.  
  4123.     9.4.2.7                :CH
  4124.  
  4125.                  Insert ASCII Character
  4126.  
  4127.     Syntax:     <Count>:CH
  4128.  
  4129.     Semantics:    Insert    an  ASCII   character  of  decimal  value
  4130.             <Count> at the cursor position.
  4131.  
  4132.     9.4.2.8                :CK
  4133.  
  4134.                 Checkpoint buffer
  4135.  
  4136.     Syntax:     :CK
  4137.  
  4138.     Semantics:    Perform an autosave on the current buffer exactly
  4139.             as if an automatic autosave had happened.
  4140.  
  4141.     9.4.2.9                :CL
  4142.  
  4143.                   Center Line
  4144.  
  4145.     Syntax:     :CL
  4146.  
  4147.     Semantics:    Center    the line containing  the  cursor  between
  4148.             the left and right margins (denoted by L and R or
  4149.             J in the ruler line).
  4150.  
  4151.     9.4.2.10               :CM
  4152.  
  4153.                  Cursor at Middle
  4154.  
  4155.     Syntax:     :CM
  4156.  
  4157.     Semantics:    Scrolls the  current  window  to place the cursor
  4158.             line on the middle  line  in the window.  Is only
  4159.             available in full screen editing mode.
  4160.  
  4161.     9.4.2.11              :CNA
  4162.  
  4163.                   Add number to counter
  4164.  
  4165.     Syntax:     :CNA{#<Letter>}
  4166.  
  4167.     Semantics:    Add the  contents  of the buffer, starting at the
  4168.             current cursor position as an  integer    up to the
  4169.             first non-numeric character, to the value  of the
  4170.             counter.  The value  can  be preceded by a + or -
  4171.             character.  If #<Letter> is  included  the  value
  4172.             will  be  taken  from  the  variable    <Letter>.
  4173.             Omitting  #<Letter>  has the same effects as  #A.
  4174.             <Letter> must be in the range A to Z.
  4175.  
  4176.     9.4.2.12              :CNG
  4177.  
  4178.                  Get counter from buffer
  4179.  
  4180.     Syntax:     :CNG{#<Letter>}
  4181.  
  4182.     Semantics:    Interpret the contents of the buffer, starting at
  4183.             the current cursor  position  as an integer up to
  4184.             the  first non-numeric character  and  place  the
  4185.             value in the counter.  The value can be preceeded
  4186.             by a  + or - character.  If #<Letter> is included
  4187.             the  value  will   be  taken  from  the  variable
  4188.             <Letter>.    Omitting  #<Letter>   has    the  same
  4189.             effects as #A.    <Letter> must be in  the  range A
  4190.             to Z.
  4191.  
  4192.     9.4.2.13              :CNI
  4193.  
  4194.              Increment or Decrement Counter
  4195.  
  4196.     Syntax:     {+|-}{<Count>}:CNI{#<Letter>}
  4197.  
  4198.     Semantics:    Increment  or    decrement  the    value  of  Sedt's
  4199.             internal  counter by <Count>.    If  #<Letter>  is
  4200.             included  the  value  will  be    taken    from  the
  4201.             variable  <Letter>.    Omitting #<Letter> has the
  4202.             same  effects  as  #A.     <Letter> must be in  the
  4203.             range A to Z.
  4204.  
  4205.     9.4.2.14              :CNP
  4206.  
  4207.             Insert Value of Counter in Buffer
  4208.  
  4209.     Syntax:     :CNP{#<Letter>}
  4210.  
  4211.     Semantics:    Insert    the  decimal  value  of  Sedt's  internal
  4212.             counter into the current  buffer  at  the  cursor
  4213.             location.   If    #<Letter>  is  included the value
  4214.             will  be  taken    from  the  variable    <Letter>.
  4215.             Omitting #<Letter>  has  the  same effects as #A.
  4216.             <Letter> must be in the range A to Z.
  4217.  
  4218.     9.4.2.15              :CNS
  4219.  
  4220.                   Set Value of Counter
  4221.  
  4222.     Syntax:     {+|-|}{<Count>}:CNS{#<Letter>}
  4223.  
  4224.     Semantics:    Set  the  value  of Sedt's  internal  counter  to
  4225.             <Count>.  If #<Letter> is included the value will
  4226.             be taken from the variable  <Letter>.     Omitting
  4227.             #<Letter> has the  same  effects as #A.  <Letter>
  4228.             must be in the range A to Z.
  4229.  
  4230.     9.4.2.16               :CS
  4231.  
  4232.                    Save Buffer Context
  4233.  
  4234.     Syntax:     :CS
  4235.  
  4236.     Semantics:    Save the  cursor  position,  all  marks  and  the
  4237.             current ruler in  a  file with the same file name
  4238.             as the output file  of    the  current  buffer, but
  4239.             with  the  extension  .CTX.     If   the  option
  4240.             CONTEXT=SAVED  is  set    these  setting    will   be
  4241.             restored when the file is opened for editing.
  4242.  
  4243.     9.4.2.17               :CT
  4244.  
  4245.                   Cursor at Top
  4246.  
  4247.     Syntax:     :CT
  4248.  
  4249.     Semantics:    Scrolls the  current  window  to place the cursor
  4250.             line at the second line  in  the window.  Is only
  4251.             available in full screen editing mode.
  4252.  
  4253.     9.4.2.18               :CU
  4254.  
  4255.                   Change to Upper Case
  4256.  
  4257.     Syntax:     :CU<@ command>
  4258.  
  4259.     Semantics:    Change all lower  case    characters  to upper case
  4260.             from the current cursor  position to the position
  4261.             defined by the @ command.
  4262.             
  4263.     9.4.2.19               :CW
  4264.     
  4265.               Change to Other Screen Window
  4266.     
  4267.     Syntax:     :CW
  4268.     
  4269.     Senamtics:    If the screen is in two window mode switch to the
  4270.             other window on  the  screen, otherwise switch to
  4271.             the previous buffer used.
  4272.  
  4273.     9.4.2.20               :D
  4274.  
  4275.                      Delete
  4276.  
  4277.     Syntax:     :D<@ command>
  4278.  
  4279.     Semantics:    Delete all characters from the    current  position
  4280.             to  the  position defined by the  @  command  and
  4281.             place  the  deleted  text in an internal  buffer.
  4282.             Separate buffers exist for different  @ commands;
  4283.             The  relationship  between @ commands and  delete
  4284.             buffers is:
  4285.  
  4286.                 @AC    Unknown
  4287.                 @AL    Unknown
  4288.                 @BB    Unknown
  4289.                 @EB    Unknown
  4290.                 @EL    Line
  4291.                 @C    Char
  4292.                 @F    Find
  4293.                 @L    Line
  4294.                 @M    Unknown
  4295.                 @N    Find
  4296.                 @PAG    Pag
  4297.                 @PAR    Par
  4298.                 @SEN    Sen
  4299.                 @SR    Paste
  4300.                 @V    Unknown
  4301.                 @W    Word
  4302.  
  4303.                 In insert mode    the  text will be removed
  4304.             entirely and the text  after  the  block  removed
  4305.             will  immediately  follow  the    text  before  the
  4306.             block.    In replace mode the block removed will be
  4307.             replaced  with    space  characters, preserving any
  4308.             line terminators.
  4309.  
  4310.     9.4.2.21              :EAP
  4311.  
  4312.                    Delete and Append
  4313.  
  4314.     Syntax:     :EAP<@ command>
  4315.  
  4316.     Semantics:    Delete all characters from the    current  position
  4317.             to  the  position defined by the  @  command  and
  4318.             appends the text to  the  contents of an internal
  4319.             buffer.  Separate buffers exist  for  different @
  4320.             commands;    The relationship between @  commands
  4321.             and delete buffers is:
  4322.  
  4323.                 @AC    Unknown
  4324.                 @AL    Unknown
  4325.                 @BB    Unknown
  4326.                 @EB    Unknown
  4327.                 @EL    Line
  4328.                 @C    Char
  4329.                 @F    Find
  4330.                 @L    Line
  4331.                 @M    Unknown
  4332.                 @N    Find
  4333.                 @PAG    Pag
  4334.                 @PAR    Par
  4335.                 @SEN    Sen
  4336.                 @SR    Paste
  4337.                 @V    Unknown
  4338.                 @W    Word
  4339.  
  4340.                 In insert mode    the  text will be removed
  4341.             entirely and the text  after  the  block  removed
  4342.             will  immediately  follow  the    text  before  the
  4343.             block.    In replace mode the block removed will be
  4344.             replaced with space  characters,  preserving  any
  4345.             line terminators.
  4346.  
  4347.     9.4.2.22               :EF
  4348.  
  4349.                                 Execute Function
  4350.  
  4351.     Syntax:     <Count>:EK
  4352.  
  4353.     Semantics:    Execute the  function  entry  number  <Count>  in
  4354.                         FUNDEF.EDT exectly as  if  it were invoked from a
  4355.                         keystroke.    FUNDEF.INP  is  an  ASCII  readable
  4356.                         version of FUNDEF.EDT.
  4357.  
  4358.     9.4.2.23               :EK
  4359.  
  4360.                    Execute Key
  4361.  
  4362.     Syntax:     :EK<Key>
  4363.  
  4364.     Semantics:    Execute the definition of <Key> exactly as  if it
  4365.             had  been  typed on the keyboard.  This  includes
  4366.             prompting for input and replacement of tokens.
  4367.  
  4368.             <Key>  is a code that identifies  the  class  and
  4369.             value of  the  key.  It consists of a three digit
  4370.             decimal number that defines the  value.  <Key> is
  4371.             the index into the key mapping table described in
  4372.             chapter 7 of this manual.  Normally  the value is
  4373.             inserted into the command with the !  contruct.
  4374.  
  4375.     9.4.2.24               :EL
  4376.  
  4377.                 Set error level
  4378.  
  4379.     Syntax:     <Count>:EL
  4380.  
  4381.     Semantics:    Set the error level to ring the bell at <count>
  4382.             3: All errors
  4383.             2: All errors except entity errors (default)
  4384.             1: Only serious and fatal errors
  4385.             0: never
  4386.  
  4387.     9.4.2.25              :ERC
  4388.  
  4389.                 Clear Edit Region
  4390.  
  4391.     Syntax:     :ERC
  4392.  
  4393.     Semantics:    Cancels any edit region in effect.
  4394.  
  4395.     9.4.2.26              :ERS
  4396.  
  4397.                  Set Edit Region
  4398.  
  4399.     Syntax:     :ERS<@ Command>
  4400.  
  4401.     Semantics:    Sets the edit region of the  current buffer to go
  4402.             from  the  current  cursor position to the  point
  4403.             defined by <@ Command>.
  4404.  
  4405.             As long as an edit region is in effect the cursor
  4406.             cannot    be  moved  outside  it, thus limiting any
  4407.             editing operations be happen within the region.
  4408.  
  4409.     9.4.2.27               :FE
  4410.  
  4411.                    Edit File
  4412.  
  4413.     Syntax:     <Count>:FE<Delimiter><File Name><Delimiter>
  4414.  
  4415.     Semantics:    If the current buffer contains modified text  the
  4416.             user is asked whether the current contents should
  4417.             be saved.  If affirmative, the contents are saved
  4418.             in  the    current  output  file,  otherwise  the
  4419.             contents  are discarded.   The    contents  of  the
  4420.             buffer    are  then  cleared.    The   <File  Name>
  4421.             argument is assigned to the input file    name  and
  4422.             output    file  name of the current buffer and  the
  4423.             file is read into the buffer if it  exists.   The
  4424.             cursor    is  placed  at the first character of the
  4425.             file.
  4426.     
  4427.             If <Count>  is zero the buffer will be read-only.
  4428.             The file will not be automatically saved on a :X.
  4429.  
  4430.     9.4.2.28               :FG
  4431.  
  4432.                     Get File
  4433.  
  4434.     Syntax:     :FG<Delimiter><File Name><Delimiter>
  4435.  
  4436.     Semantics:    Read  the  contents  of the file into the current
  4437.             buffer    at the    current  cursor  position.    The
  4438.             cursor is placed at the first character read in.
  4439.  
  4440.     9.4.2.29              :FNL
  4441.  
  4442.                    Font Larger
  4443.  
  4444.     Syntax:     :FNL
  4445.  
  4446.     Semantics:    Select the  next  larger font that the system can
  4447.             display.
  4448.  
  4449.     9.4.2.30              :FNS
  4450.  
  4451.                    Font Smaller
  4452.  
  4453.     Syntax:     :FNS
  4454.  
  4455.     Semantics:    Select the next  smaller font that the system can
  4456.             display.
  4457.  
  4458.     9.4.2.31               :FS
  4459.  
  4460.                    Save File
  4461.  
  4462.     Syntax:     :FS<Delimiter><File Name><Delimiter>
  4463.  
  4464.     Semantics:    Save the contents of  the  current  buffer in the
  4465.             file given in the <File  Name>    argument.  If the
  4466.             argument is empty, save in the output file of the
  4467.             current  buffer.   
  4468.  
  4469.     9.4.2.32               :FW
  4470.  
  4471.                     Write File
  4472.  
  4473.     Syntax:     :FW<Delimiter><File Name><Delimiter>
  4474.  
  4475.     Semantics:    Write the contents  of    the current buffer to the
  4476.             file given in the  <File  Name> argument.
  4477.  
  4478.     9.4.2.33               :FX
  4479.  
  4480.                   Execute File
  4481.  
  4482.     Syntax:     :FX<Delimiter><File Name><Delimiter>
  4483.  
  4484.     Semantics:    Read the file given  in  <File    Name> and execute
  4485.             each  line  as SEDT  commands.      ?,  !    and    %
  4486.             expansion is done before execution of each line.
  4487.  
  4488.     9.4.2.34              :GAP
  4489.  
  4490.                  Get and append
  4491.  
  4492.     Syntax:     :GAP<@ command>
  4493.  
  4494.     Semantics:    Append    the   text  between  the  current  cursor
  4495.             position  and  the  position  defined  by  the    @
  4496.             command to the contents  of  an  internal buffer.
  4497.             The text is not deleted  from the current buffer.
  4498.             Several buffers are used for different @ commands
  4499.             as follows:
  4500.  
  4501.                 @AC    Unknown
  4502.                 @AL    Unknown
  4503.                 @BB    Unknown
  4504.                 @EB    Unknown
  4505.                 @EL    Line
  4506.                 @C    Char
  4507.                 @F    Find
  4508.                 @L    Line
  4509.                 @M    Unknown
  4510.                 @N    Find
  4511.                 @PAG    Pag
  4512.                 @PAR    Par
  4513.                 @SEN    Sen
  4514.                 @SR    Paste
  4515.                 @V    Unknown
  4516.                 @W    Word
  4517.  
  4518.     9.4.2.35               :GE
  4519.  
  4520.                       Get
  4521.  
  4522.     Syntax:     :GE<@ command>
  4523.  
  4524.     Semantics:    Place  the  text  between  the    current    cursor
  4525.             position  and  the  position  defined  by  the    @
  4526.             command and  place it in an internal buffer.  The
  4527.             text is not  deleted  from  the  current  buffer.
  4528.             Several buffers are used for different @ commands
  4529.             as follows:
  4530.  
  4531.                 @AC    Unknown
  4532.                 @AL    Unknown
  4533.                 @BB    Unknown
  4534.                 @EB    Unknown
  4535.                 @EL    Line
  4536.                 @C    Char
  4537.                 @F    Find
  4538.                 @L    Line
  4539.                 @M    Unknown
  4540.                 @N    Find
  4541.                 @PAG    Pag
  4542.                 @PAR    Par
  4543.                 @SEN    Sen
  4544.                 @SR    Paste
  4545.                 @V    Unknown
  4546.                 @W    Word
  4547.  
  4548.     9.4.2.36               :GR
  4549.  
  4550.                    Get ruler
  4551.  
  4552.     Syntax:     <Count>:GR
  4553.  
  4554.     Semantics:    Read  the  contents  of the file RULER<Count>.TXT
  4555.             and  define  the  ruler from the contents of  the
  4556.             file.     The  file should have been written by    a
  4557.             save ruler command within the :RL command.  On PC
  4558.             versions the file should  be  located  in  SEDT's
  4559.             master directory.  Under VMS  the  file is should
  4560.             be placed in the directory defined by the logical
  4561.             variable SEDT$DIR.
  4562.  
  4563.     9.4.2.37               :H
  4564.  
  4565.                       Help
  4566.  
  4567.     Syntax:     :H<Delimiter><Help file><Delimiter>
  4568.  
  4569.     Semantics:    Read the help and display it page by  page on the
  4570.             screen.   If  <Help  file> is empty the help file
  4571.             used is HELP.EDT  or  HELP.WPS    depending  on the
  4572.             editing style.    
  4573.  
  4574.             
  4575.     
  4576.     9.4.2.38               :I
  4577.  
  4578.                      Insert
  4579.  
  4580.     Syntax:     :I<Delimiter><Any text><Delimiter>
  4581.  
  4582.     Semantics:    Insert    the  text  in  the  current buffer.   The
  4583.             cursor    is    placed   after  the  last  inserted
  4584.             character.
  4585.  
  4586.     9.4.2.39               :KF
  4587.  
  4588.                Define key function string
  4589.  
  4590.     Syntax:     :KF<Key><Delimiter><Definition><Delimiter>
  4591.  
  4592.     Semantics:        Program  the  key given in <Key> to  perform  the
  4593.             commands given    in <Definition>.  If <Definition>
  4594.             ends with a  period the commands will be executed
  4595.             when the key is  pressed, otherwise the execution
  4596.             is stored and executed when  a    key ending with a
  4597.             period is struck.
  4598.  
  4599.             <Key>  is a code that identifies  the  class  and
  4600.             value of  the  key.  It consists of a three digit
  4601.             decimal number that defines the value.     <Key> is
  4602.             the index into the key mapping table described in
  4603.             chapter 7 of this manual.  Normally the  value is
  4604.             inserted into the command with the !  contruct.
  4605.                         
  4606.                         If the  key  was  originally defined at startup a
  4607.                         new  entry  will   be  created  in  the  function
  4608.                         definition  table  to  ensure  that   other  keys
  4609.                         pointing to the same entry are not redefined.
  4610.  
  4611.     9.4.2.40               :KN
  4612.  
  4613.                Define key function number
  4614.  
  4615.     Syntax:     <Number>:KN<Key>
  4616.  
  4617.     Semantics:        Program  the  key given in <Key> to  perform  the
  4618.             commands given    in function number <Number>.
  4619.  
  4620.             <Key>  is a code that identifies  the  class  and
  4621.             value of  the  key.  It consists of a three digit
  4622.             decimal  number that defines the value.  <Key> is
  4623.             the index into the key mapping table described in
  4624.             chapter 7 of  this manual.  Normally the value is
  4625.             inserted into the command with the !  contruct.
  4626.  
  4627.     9.4.2.41               :LD
  4628.  
  4629.               Decrease indentation
  4630.  
  4631.     Syntax:     {<Count>}:LD
  4632.  
  4633.     Semantics:    Reduce    the indentation level by  <Count>,  which
  4634.             defaults to 1.    The :TAB command moves the cursor
  4635.             to the indentation level if the cursor    is placed
  4636.             to  the  left  of  the    indentation  level.   The
  4637.             indentation level is shown with an I on the ruler
  4638.             display.
  4639.  
  4640.     9.4.2.42               :LI
  4641.  
  4642.               Increase indentation
  4643.  
  4644.     Syntax:     {<Count>}:LI
  4645.  
  4646.     Semantics:    Increase the indentation  level by <Count>, which
  4647.             defaults to 1.    The :TAB command moves the cursor
  4648.             to the indentation level if  the cursor is placed
  4649.             to  the  left  of  the indentation  level.    The
  4650.             indentation level is shown with an I on the ruler
  4651.             display.
  4652.  
  4653.     9.4.2.43               :LK
  4654.  
  4655.               Load key definition
  4656.  
  4657.     Syntax:     :LK<Key><@ Command>
  4658.  
  4659.     Semantics:    Program  the  key  given in <Key> to contain  the
  4660.             contents of  the  given  entity.   See :K for the
  4661.             valid codes for <Key>.
  4662.  
  4663.     9.4.2.44              :LNE
  4664.  
  4665.             Execute keystrokes stored in key
  4666.  
  4667.     Syntax:     {<Count>}:LNE<Key>
  4668.  
  4669.     Semantics:    Interpret the  programming  of the key defined by
  4670.             <Key> as a  sequence  of  keystrokes.  The key is
  4671.             assumed to have been  programmed  through the use
  4672.             of the :LNL command.  See :K for a description of
  4673.             valid codes for <Key>.
  4674.  
  4675.     9.4.2.45              :LNL
  4676.  
  4677.             Store keystrokes in key
  4678.  
  4679.     Syntax:     :LNL<Key>
  4680.  
  4681.     Semantics:    Store subsequent keystrokes in the programming of
  4682.             the  key  defined  by  <Key>  until that  key  is
  4683.             struck.  The keystrokes are executed as they  are
  4684.             stored.   The commands :LNL and :LNE are used  to
  4685.             store  the  keystrokes     required  to  perform    a
  4686.             repeated task and then    perform  the task without
  4687.             having to repeat the keystroke    sequence.  See :K
  4688.             for a description of valid codes for <Key>.
  4689.  
  4690.             The stored keystrokes are encoded as  a  code for
  4691.             the class of the key followed by  either an ASCII
  4692.             character or a 3 digit ASCII value for the key.
  4693.  
  4694.             Codes are:
  4695.  
  4696.                 A    ASCII character
  4697.                 G    Gold ASCII character
  4698.                 F    Function key
  4699.                 B    Gold function key
  4700.  
  4701.             For printable  ASCII  characters,  except digits,
  4702.             the code is followed by the character.    Otherwise
  4703.             the code is followed  by  a  3 digit function key
  4704.             number,  see :K for valid  values,  or    an  ASCII
  4705.             character value.
  4706.  
  4707.     9.4.2.46              :LNX
  4708.  
  4709.                   End learning
  4710.  
  4711.     Syntax:     :LNX
  4712.  
  4713.     Semantics:    Terminate keystroke  learning if it is in effect.
  4714.             This command has  no effect if keystroke learning
  4715.             is not in effect.
  4716.  
  4717.     9.4.2.47               :LS
  4718.  
  4719.              Set indentation level
  4720.  
  4721.     Syntax:     :LS
  4722.  
  4723.     Semantics:    Set the indentation level to the  current  cursor
  4724.             position.  The :TAB command moves the  cursor  to
  4725.             the indentation level if the cursor is placed  to
  4726.             the  left    of   the  indentation  level.    The
  4727.             indentation level is shown with an I on the ruler
  4728.             display.
  4729.  
  4730.     9.4.2.48               :M
  4731.  
  4732.               Mark cursor position
  4733.  
  4734.     Syntax:     {-}{<Count>}:M
  4735.  
  4736.     Semantics:    Store the current cursor  position  in    one  of 9
  4737.             marks.    <Count>, which defaults  to  1, specifies
  4738.             the mark to save the position  in.    Valid marks
  4739.             are 1 through 9.  As text is inserted and deleted
  4740.             from  the  buffer marks are adjusted to point  to
  4741.             the same logical positions in the file.
  4742.  
  4743.             -<Count>:M clears mark number <Count>.
  4744.  
  4745.     9.4.2.49               :NL
  4746.  
  4747.                 New line
  4748.  
  4749.     Syntax:     {<Count>}:NL
  4750.  
  4751.     Semantics:    Insert    a  new    line  at  the cursor position and
  4752.             advance  the  cursor  to the beginning of the new
  4753.             line.
  4754.  
  4755.             If the    ruler  line  has automatic margin control
  4756.             set the margin    is  set to the leftmost character
  4757.             position not containing spaces    and  tabs  in the
  4758.             line the cursor was on.  If the old line had only
  4759.             spaces    or tabs the automatic margin  is  set  to
  4760.             column    1.    Finally insert spaces and  tabs  to
  4761.             advance  the  cursor to the automatic margin just
  4762.             defined.    The  result will be that left margins
  4763.             will line up at any column position.
  4764.  
  4765.             If a non-automatic left margin is set  spaces and
  4766.             tabs  are  inserted  to advance the cursor to the
  4767.             left margin.
  4768.  
  4769.     9.4.2.50               :NS
  4770.  
  4771.                 Substitute next
  4772.  
  4773.     Syntax:     {+|-|<|>}{<Count>}:NS
  4774.  
  4775.     Semantics:    Search in the current  direction  for the current
  4776.             search    string and if it  is  found  replace  the
  4777.             occurrence  with the current  substitute  string.
  4778.             If the cursor is placed on the first character of
  4779.             an occurrence the first substitution will be made
  4780.             on that occurrence.  The current search string is
  4781.             set  with  @F.      :SL  or  :SUB.     The  current
  4782.             substitute  string is set with :SUB.  The  search
  4783.             is case insensitive.
  4784.  
  4785.     9.4.2.51               :OE
  4786.  
  4787.               Output error message
  4788.  
  4789.     Syntax:     <Count>:OE<Delimiter><Message><Delimiter>
  4790.  
  4791.     Semantics:    Output <Message> exactly  as  an  internal  error
  4792.             message from SEDT and  perform    the  normal error
  4793.             skipping of  commands.     Count is used to set the
  4794.             error level.
  4795.  
  4796.     9.4.2.52               :OL
  4797.  
  4798.                    Open line
  4799.  
  4800.     Syntax:     {<Count>}:OL
  4801.  
  4802.     Semantics:    Insert <Count>, which defaults to  1,  line feeds
  4803.             after the current cursor position.
  4804.  
  4805.     9.4.2.53               :OM
  4806.  
  4807.                  Output message
  4808.  
  4809.     Syntax:     :OM<Delimiter><Message><Delimiter>
  4810.  
  4811.     Semantics:    Output    <Message>  on  the  message line  of  the
  4812.             display.
  4813.  
  4814.     9.4.2.54               :OS
  4815.  
  4816.                  Toggle over-strike mode
  4817.  
  4818.     Syntax:     :OS
  4819.  
  4820.     Semantics:    Switch between    insert    and  replace mode.
  4821.  
  4822.             In    insert  mode  typed  input  and  characters
  4823.             inserted  with    :I  are  inserted  at  the cursor
  4824.             position and  the  cursor  position  is advanced,
  4825.             thus pushing the  text    after the cursor in front
  4826.             of it.
  4827.  
  4828.             In  replace  mode  the    character  at the  cursor
  4829.             position  is  replaced    by  the  character  being
  4830.             inserted.   If    the  cursor  is at the end of the
  4831.             line the character  will  be inserted rather than
  4832.             replaced.  If the  cursor  is  at a tab character
  4833.             the tab will be expanded  to  spaces  before  the
  4834.             replacement takes place.
  4835.  
  4836.             The  current replace/insert mode is displayed  on
  4837.             the mode line of the display.
  4838.  
  4839.     9.4.2.55               :OW
  4840.  
  4841.                Switch to previous buffer
  4842.  
  4843.     Syntax:        :OW
  4844.  
  4845.     Semantics:    Switch to displaying the buffer that was selected
  4846.             before switching to the current.  In  two  window
  4847.             display  mode the displays in the top and  bottom
  4848.             windows will be switched.   If no buffer has been
  4849.             selected switch to buffer number 1.
  4850.  
  4851.     9.4.2.56               :PD
  4852.  
  4853.                   Insert current date
  4854.  
  4855.     Syntax:     :PD
  4856.  
  4857.     Semantics:    Insert    the  current  system  date in the format:
  4858.             DD-MMM-YYYY.   This  command  has  no  effect  on
  4859.             systems that do not maintain the current date.
  4860.  
  4861.     9.4.2.57               :PL
  4862.  
  4863.                    Load paste buffer
  4864.  
  4865.     Syntax:     :PL<Delimiter><File name><Delimiter>
  4866.  
  4867.     Semantics:    Insert the contents  of  the  file given in <File
  4868.             name>  in the paste  buffer.    This  command  is
  4869.             normally used in conjunction with the :PS command
  4870.             to  preserve  the  contents of the  paste  buffer
  4871.             across multiple sessions.
  4872.     
  4873.     9.4.2.58             :POPCH
  4874.     
  4875.             Restore saved buffer change flag
  4876.     
  4877.     Syntax:     :POPCH
  4878.     
  4879.     Semantics:    Restore a buffer change flag  that was previously
  4880.             saved with a :PUSHCH command.    PUSHCH    and POPCH
  4881.             commands can be nested up to 16 levels deep.
  4882.  
  4883.     9.4.2.59               :PR
  4884.  
  4885.                   Print current buffer
  4886.  
  4887.     Syntax:     :PR<Delimiter><File name><Delimiter>
  4888.  
  4889.     Semantics:    Save  the  current  buffer in the file    given  in
  4890.             <File name>.  After every 61 lines of output  and
  4891.             at  the end of the file a form feed character  is
  4892.             inserted.  If  any  character  is  typed  on  the
  4893.             keyboard  during the process  the  save  will  be
  4894.             terminated.
  4895.  
  4896.     9.4.2.60               :PS
  4897.  
  4898.                    Save paste buffer
  4899.  
  4900.     Syntax:     :PS<Delimiter><File name><Delimiter>
  4901.  
  4902.     Semantics:    Save the contents of the paste buffer in the file
  4903.             given in <File name>.  This  command  is normally
  4904.             used  in  conjunction with :PL to preserve  paste
  4905.             buffers across multiple edit sessions.
  4906.  
  4907.     9.4.2.61               :PT
  4908.  
  4909.                   Insert current time
  4910.  
  4911.     Syntax:     :PT
  4912.  
  4913.     Semantics:    Insert    the  current  system  time in the format:
  4914.             HH-MM-SS.   This command has no effect on systems
  4915.             that do not maintain the current date.
  4916.     
  4917.     9.4.2.62            :PUSHCH
  4918.     
  4919.             Save and clear buffer change flag
  4920.     
  4921.     Syntax:     :PUSHCH
  4922.     
  4923.     Semantics:    The buffer change flag is saved for  the  current
  4924.             buffer    and is then cleared.  The original  state
  4925.             of  the  flag  can  be    restored  with    a  :POPCH
  4926.             command.  :PUSHCH  and    :POPCH    commands  can  be
  4927.             nested up to 16 levels deep.
  4928.  
  4929.     9.4.2.63               :Q
  4930.  
  4931.                       Quit
  4932.  
  4933.     Syntax:     :Q
  4934.  
  4935.     Semantics:    Terminate the Sedt session if no  buffers contain
  4936.             modified text.    If a buffer has been modified ask
  4937.             for confirmation and, if positive, terminate the
  4938.             session.    ATARI  GEM    and    Microsoft  Windows
  4939.             versions will only close the current window.
  4940.  
  4941.     9.4.2.64              :REP
  4942.  
  4943.                     Replace
  4944.  
  4945.     Syntax:     :REP
  4946.  
  4947.     Semantics:    If  the  last  command    was @F or @N  remove  the
  4948.             occurrence  found  and    insert    it in the unknown
  4949.             delete buffer.      Then insert the contents of the
  4950.             paste buffer.
  4951.  
  4952.     9.4.2.65               :RF
  4953.  
  4954.                 Refresh display
  4955.  
  4956.     Syntax:     :RF
  4957.  
  4958.     Semantics:    Clear and reinitialize    the  display  and rewrite
  4959.             it.    This  command  is  used    to  recover  from
  4960.             corruption of the display.
  4961.  
  4962.     9.4.2.66               :RK
  4963.  
  4964.                 Redefine key as character
  4965.  
  4966.     Syntax:     <Count>:RK<Key>
  4967.  
  4968.     Semantics:        Redefine the  key  given  in  <Key> to insert the
  4969.             character whose value is given in <Count>.
  4970.  
  4971.             <Key>  is a code that identifies  the  class  and
  4972.             value of  the  key.  It consists of a three digit
  4973.             decimal number that defines  the value.  <Key> is
  4974.             the index into the key mapping table described in
  4975.             chapter 7 of this manual.   Normally the value is
  4976.             inserted into the command with the !  contruct.
  4977.  
  4978.     9.4.2.67               :RL
  4979.  
  4980.                      Ruler
  4981.  
  4982.     Syntax:     :RL
  4983.  
  4984.     Semantics:    Switch into ruler definition mode.  The cursor is
  4985.             placed    on  the  first    character  on  the  ruler
  4986.             display  in  the  second  line    of  the   screen.
  4987.             Commands that affect the ruler are:
  4988.  
  4989.             Right arrow    Moves the cursor one character to
  4990.                     the right.  The column number can
  4991.                     be read on the status line.
  4992.  
  4993.             Left arrow    Moves  the cursor one  column  to
  4994.                     the left.
  4995.  
  4996.             -         Removes a tab stop at the current
  4997.                     position.
  4998.  
  4999.             Tab        Moves to next tab stop
  5000.  
  5001.             ^H        Moves to column 1
  5002.  
  5003.             T        Inserts a tab stop at the current
  5004.                     position
  5005.  
  5006.             L        Sets   the  left  margin  to  the
  5007.                     current position.   When a Return
  5008.                     is  entered the  cursor  will  be
  5009.                     indented to the left margin.
  5010.  
  5011.             R        Sets  the  right  margin  to  the
  5012.                     current  position.  If the  right
  5013.                     margin    is  reached when entering
  5014.                     text, a  new line will be entered
  5015.                     before the word  being    typed and
  5016.                     the word will be  indented to the
  5017.                     word wrap margin.
  5018.  
  5019.             J        Sets  the  right  margin  to  the
  5020.                     current  position.   If the right
  5021.                     margin is  reached  when entering
  5022.                     text, a new  line will be entered
  5023.                     before the word being  typed  and
  5024.                     the word will be indented  to the
  5025.                     word wrap margin after adjustment
  5026.                     of the text to the right margin.
  5027.  
  5028.             W        Sets the  word wrap margin to the
  5029.                     current position.   W  fixes  the
  5030.                     word wrap position.
  5031.  
  5032.             A        Sets  automatic  margin  control.
  5033.                     The margin is always the leftmost
  5034.                     non-blank position on the current
  5035.                     line.
  5036.  
  5037.             I        Sets  the    indentation  at  the
  5038.                     current position.
  5039.  
  5040.             Space        Removes  all formatting  controls
  5041.                     at the current position.
  5042.  
  5043.             Digit         Load  saved  ruler number  digit.
  5044.                     The  rulers are saved  in  SEDT's
  5045.                     master directory under MS-DOS and
  5046.                     in  the  directory  pointed to by
  5047.                     the logical  name  SEDT$Dir under
  5048.                     VMS.  The  name of the ruler file
  5049.                     is  RulerN.Txt    where  N  is  the
  5050.                     number of the ruler.
  5051.  
  5052.             Gold Digit    Save current ruler in saved ruler
  5053.                     number digit.
  5054.  
  5055.             Return        Returns  from  ruler   definition
  5056.                     mode to normal edit mode.
  5057.  
  5058.             If more than one  ruler setting is commonly used,
  5059.             much time can be saved by storing the settings in
  5060.             rulers 0 through 9.  Ruler 0 is loaded by default
  5061.             and any of the other rulers can be called up with
  5062.             four key strokes:  Gold R Digit Return.
  5063.  
  5064.             The  ruler  line  controls  both  left    and right
  5065.             margins.  Several  options  exist for controlling
  5066.             the margins.
  5067.  
  5068.             No margin control is  done  if    L, W, R and I are
  5069.             set in column 1.   Lines  can  be infinitely long
  5070.             and the cursor is always positioned  in  column 1
  5071.             after a Return is typed.
  5072.  
  5073.             If L is set in a column different from 1 and W is
  5074.             set  in  column  1  a Return will cause  SEDT  to
  5075.             indent to the column defined by L.
  5076.  
  5077.             If I is set in a column different from    1 and the
  5078.             cursor    is positioned to the left of the column a
  5079.             Tab will indent to the column defined by I.
  5080.  
  5081.             The  left  and    right  margin  controls  work  as
  5082.             follows:
  5083.  
  5084.             W and R:
  5085.  
  5086.                 When a non-blank character  is    typed  to
  5087.                 the right of R SEDT  will insert a Return
  5088.                 in front of the first word  that  extends
  5089.                 to  the right of R and indent  to  the    W
  5090.                 column.    The    effect    will be that text
  5091.                 will be filled between W and R.  The fill
  5092.                 command, Gold Keypad  8  will  fill  text
  5093.                 from the current cursor  position  to the
  5094.                 end of the current paragraph.     Text  to
  5095.                 the left of W will be left unaffected.
  5096.  
  5097.             W and J:
  5098.  
  5099.                 When  a  non-blank character is typed  to
  5100.                 the  right  of    J  SEDT  will change  the
  5101.                 spacing between  the current position and
  5102.                 W  so  that   spacing  after  punctuation
  5103.                 characters will be exactly  2  and  after
  5104.                 non-punctuation characters will be 1.    A
  5105.                 return    will then be inserted before  the
  5106.                 first  word that extends to the right  of
  5107.                 J,  after  which  spaces will be inserted
  5108.                 between words  until  the right margin is
  5109.                 justified to J.  Finally the wrapped word
  5110.                 will be indented to  W.  Text to the left
  5111.                 of W will be left unaffected.
  5112.  
  5113.             A and R:
  5114.  
  5115.                 When a non-blank character is inserted to
  5116.                 the right of  R a return will be inserted
  5117.                 in front of the  first    word that extends
  5118.                 to the right of R.    The  text after the
  5119.                 return will be indented to the same level
  5120.                 as the line just terminated.
  5121.  
  5122.             A and J:
  5123.  
  5124.                 When  a  non-blank  character is typed to
  5125.                 the  right  of    J  SEDT  will  change the
  5126.                 spacing  between all words to the left of
  5127.                 the  current  position    so  that  spacing
  5128.                 after  punctuation  characters     will  be
  5129.                 exactly  2  and  after      non-punctuation
  5130.                 characters will be 1.  A return will then
  5131.                 be  inserted  before the first word  that
  5132.                 extends  to  the right of J, after  which
  5133.                 spaces will  be  inserted  between  words
  5134.                 until the right  margin  is  justified to
  5135.                 the  same  level  as    the    line  just
  5136.                 terminated.
  5137.  
  5138.             W to the right of, or at J/R:
  5139.  
  5140.                 No filling or justification will occur.
  5141.  
  5142.             A to the right of or at J/R:
  5143.  
  5144.                 When a Return is typed the cursor will be
  5145.                 indented  to the same level as    the  line
  5146.                 just  terminated.  If the terminated line
  5147.                 is  empty   the  indentation  level  will
  5148.                 remain    unchanged.    This    mode   is
  5149.                 particularly    useful      for  structured
  5150.                 programming.
  5151.  
  5152.     9.4.2.68             :RMCHA
  5153.  
  5154.               Clear character delete buffer
  5155.  
  5156.     Syntax:     :RMCHA
  5157.  
  5158.     Semantics:    Clear  the   contents  of  the    character  delete
  5159.             buffer.
  5160.  
  5161.     9.4.2.69             :RMHEL
  5162.  
  5163.                 Clear help buffer
  5164.  
  5165.     Syntax:     :RMHEL
  5166.  
  5167.     Semantics:    Clear the contents of the help buffer.
  5168.  
  5169.     9.4.2.70             :RMLIN
  5170.  
  5171.                  Clear line delete buffer
  5172.  
  5173.     Syntax:     :RMLIN
  5174.  
  5175.     Semantics:    Clear the contents of the line delete buffer.
  5176.  
  5177.     9.4.2.71             :RMPAG
  5178.  
  5179.                  Clear page delete buffer
  5180.  
  5181.     Syntax:     :RMPAG
  5182.  
  5183.     Semantics:    Clear the contents of the page delete buffer.
  5184.  
  5185.     9.4.2.72             :RMPAR
  5186.  
  5187.               Clear paragraph delete buffer
  5188.  
  5189.     Syntax:     :RMPAR
  5190.  
  5191.     Semantics:    Clear  the  contents   of  the    paragraph  delete
  5192.             buffer.
  5193.  
  5194.     9.4.2.73             :RMPAS
  5195.  
  5196.                 Clear paste buffer
  5197.  
  5198.     Syntax:     :RMPAS
  5199.  
  5200.     Semantics:    Clear the contents of the paste buffer.
  5201.  
  5202.     9.4.2.74             :RMSEA
  5203.  
  5204.                    Clear search buffer
  5205.  
  5206.     Syntax:     :RMSEA
  5207.  
  5208.     Semantics:    Clear the contents of the search buffer.
  5209.  
  5210.     9.4.2.75             :RMSEN
  5211.  
  5212.                Clear sentence delete buffer
  5213.  
  5214.     Syntax:     :RMSEN
  5215.  
  5216.     Semantics:    Clear the contents of the sentence delete buffer.
  5217.  
  5218.     9.4.2.76             :RMSUB
  5219.  
  5220.                  Clear substitute buffer
  5221.  
  5222.     Syntax:     :RMSUB
  5223.  
  5224.     Semantics:    Clear the contents of the substitute buffer.
  5225.  
  5226.     9.4.2.77             :RMUNK
  5227.  
  5228.                Clear unknown delete buffer
  5229.  
  5230.     Syntax:     :RMUNK
  5231.  
  5232.     Semantics:    Clear the contents of the unknown delete buffer.
  5233.  
  5234.     9.4.2.78             :RMWOR
  5235.  
  5236.                  Clear word delete buffer
  5237.  
  5238.     Syntax:     :RMWOR
  5239.  
  5240.     Semantics:    Clear the contents of the word delete buffer.
  5241.  
  5242.     9.4.2.79               :RS
  5243.  
  5244.                    Reset select range
  5245.  
  5246.     Syntax:     :RS
  5247.  
  5248.     Semantics:    Remove the select point and  repaint  the current
  5249.             window.
  5250.  
  5251.     9.4.2.80              :RTAB
  5252.  
  5253.                 Replace tabs with spaces
  5254.  
  5255.     Syntax:     :RTAB<@ command>
  5256.  
  5257.     Semantics:    Within    the    given    entity    replace  all  tab
  5258.             characters with multiple spaces.
  5259.  
  5260.     9.4.2.81              :RUL
  5261.  
  5262.                  Load ruler from entity
  5263.  
  5264.     Syntax:        :RUL<@ command>
  5265.  
  5266.     Semantics:    Interpret  the    text  within the @ command  as    a
  5267.             ruler definition string in the same format as the
  5268.             ruler files.
  5269.  
  5270.     9.4.2.82              :RUS
  5271.  
  5272.                   Save ruler in buffer
  5273.  
  5274.     Syntax:        :RUS
  5275.  
  5276.     Semantics:    Write  the contents of the ruler into the current
  5277.             buffer    in  the same format as a ruler definition
  5278.             file.
  5279.  
  5280.     9.4.2.83              :SAVF
  5281.  
  5282.                         Save function definitions in file
  5283.  
  5284.     Syntax:     :SAVF<Delimiter><File name><Delimiter>
  5285.  
  5286.     Semantics:      Saves   all  function  definitions  (loaded    at
  5287.                         startup, defined later and learned) in  the given
  5288.                         file.    The definitions are saved in the  binary
  5289.                         format for function definition files.  Use MAPKEY
  5290.                         DUMP FUNCTIONS to convert to an ASCII file.
  5291.  
  5292.     9.4.2.84              :SAVK
  5293.  
  5294.                Save key definitions in file
  5295.  
  5296.     Syntax:     :SAVK<Delimiter><File name><Delimiter>
  5297.  
  5298.     Semantics:    Saves the definitions of all key mappings (loaded
  5299.                         at startup,  defined  later  and  learned) in the
  5300.                         given file.  The mappings are saved in the binary
  5301.                         format for key map files.  USE  MAPKEY  DUMP KEYS
  5302.                         to convert to an ASCII file.
  5303.  
  5304.     9.4.2.85               :SC
  5305.  
  5306.                   Show current column
  5307.  
  5308.     Syntax:     :SC
  5309.  
  5310.     Semantics:    Display the column that the cursor  is    currently
  5311.             placed at on the bottom line of the display.
  5312.  
  5313.     9.4.2.86              :SEL
  5314.  
  5315.                      Select
  5316.  
  5317.     Syntax:     :SEL
  5318.  
  5319.     Semantics:    Set  the  select point to be the  current  cursor
  5320.             position.
  5321.  
  5322.     9.4.2.87              :SETB
  5323.  
  5324.                Set block/line mode toggle
  5325.  
  5326.     Syntax:     <Count>:SETB
  5327.  
  5328.     Semantics:    Sets the  value  of the block/line mode toggle to
  5329.             the value of  <Count>.      A  value of 0 sets line
  5330.             mode. 1 sets block mode.
  5331.  
  5332.     9.4.2.88              :SETD
  5333.  
  5334.                   Set direction toggle
  5335.  
  5336.     Syntax:     <Count>:SETD
  5337.  
  5338.     Semantics:    Sets  the value of the direction  toggle  to  the
  5339.             value  of  <Count>.    A  value of 0 sets  it  to
  5340.             reverse.  1 sets it to forward.
  5341.     
  5342.     9.4.2.89              :SETK
  5343.     
  5344.            Set typewriter key command execution toggle
  5345.     
  5346.     Syntax:     <Count>:SETK
  5347.     
  5348.     Semantics:    Makes Sedt execute commands  bound  to typewriter
  5349.             keys  if  <Count>  is  1,   otherwise  the  ascii
  5350.             character bound to the key is  inserted  even  if
  5351.             the key has been programmed.
  5352.  
  5353.     9.4.2.90              :SETR
  5354.  
  5355.                 Set replace/insert toggle
  5356.  
  5357.     Syntax:     <Count>:SETR
  5358.  
  5359.     Semantics:    Sets the value of  the replace/insert mode toggle
  5360.             to the value of <Count>.  A value of 0 sets it to
  5361.             insert.  1 sets it to replace.
  5362.  
  5363.     9.4.2.91              :SETT
  5364.  
  5365.               Set tab insert/expand toggle
  5366.  
  5367.     Syntax:     <Count>:SETT
  5368.  
  5369.     Semantics:    Sets the value of the tab insert/expand toggle to
  5370.             the value of <Count>.  A value    of  0  sets it to
  5371.             inserted.  1 sets it to expand.
  5372.     
  5373.     9.4.2.92              :SETU
  5374.  
  5375.                Set case sensitivity toggle
  5376.  
  5377.     Syntax:     <Count>:SETU
  5378.  
  5379.     Semantics:    Sets the value of the  case sensitivity toggle to
  5380.             the value of <Count>.  A value    of  0  sets  case
  5381.             insensitive searches.     1  sets  case    sensitive
  5382.             searches.
  5383.  
  5384.     9.4.2.93              :SETX
  5385.  
  5386.                          Set function definition toggle
  5387.  
  5388.     Syntax:     <Count>:SETX
  5389.  
  5390.     Semantics:  Sets the value of  the  function definition toggle to
  5391.                         the value of  <Count>.    A  value of 0 makes all
  5392.                         keys insert a single  character  in  responses to
  5393.                         prompts.  1 causes keys  assiciated with function
  5394.                         definitions to insert the definition in responses
  5395.                         to prompts.
  5396.  
  5397.     9.4.2.94               :SI
  5398.     
  5399.                 Send a shift in character
  5400.     
  5401.     :Syntax:    :SI
  5402.     
  5403.     Semantics:    Under VMS or ULTRIX a shift in character (decimal
  5404.             15) is sent to the terminal.  This will shift the
  5405.             displayed character set into the normal character
  5406.             set.
  5407.  
  5408.     9.4.2.95               :SK
  5409.  
  5410.                   Save key definition
  5411.  
  5412.     Syntax:     :SK<Key>
  5413.  
  5414.     Semantics:    Insert    the  definition  of  <Key> in the current
  5415.             buffer.  For valid codes for <Key> see :K.   This
  5416.             command  is  used in conjunction with :LK to edit
  5417.             key definitions.
  5418.  
  5419.     9.4.2.96               :SL
  5420.  
  5421.                    Load search buffer
  5422.  
  5423.     Syntax:     :SL<@ command>
  5424.  
  5425.     Semantics:    Copy  the contents  of    the  buffer  between  the
  5426.             cursor position and the position defined by the @
  5427.             command  into  the  search buffer.    The  search
  5428.             buffer is used by the @F, @N and :SUB commands.
  5429.     
  5430.     9.4.2.97               :SO
  5431.     
  5432.                Send a shift out character
  5433.     
  5434.     Syntax:     :SO
  5435.     
  5436.     Semantics:    Under  VMS  or    ULTRIX     a  shift  out    character
  5437.             (decimal 14) is sent to  the terminal.    This will
  5438.             change    the  character    set  displayed    to    the
  5439.             alternate character set.
  5440.  
  5441.     9.4.2.98              :STAB
  5442.  
  5443.             Replace multiple spaces with tabs
  5444.  
  5445.     Syntax:     :STAB<@ command>
  5446.  
  5447.     Semantics:    Replace  multiple  spaces within the given entity
  5448.             with tab characters where possible.
  5449.  
  5450.     9.4.2.99              :STRP
  5451.  
  5452.                   Strip trailing spaces
  5453.  
  5454.     Syntax:     :STRP<@ command>
  5455.  
  5456.     Semantics:    Strip  all  trailing  space  and  tab  characters
  5457.             within the given  entity.    Trailing  spaces are
  5458.             those after the last  printable  character on the
  5459.             line.
  5460.  
  5461.     9.4.2.100                 :SUB
  5462.  
  5463.                    Substitute
  5464.  
  5465.     Syntax:
  5466.     {+|-|<|>}{<Count>}:SUB<Delimiter><Target><Delimiter><Object><Delimiter>
  5467.  
  5468.     Semantics:    Find the  next    occurrence  of    <Target>  in  the
  5469.             current direction and  replace    it with <Object>.
  5470.             If the cursor is placed on the first character of
  5471.             <Target> and the direction is  forward    make  the
  5472.             substitution.     If  <Target>  is empty  use  the
  5473.             current  search  string, set by @F or  :SL.    If
  5474.             <Object>  is  empty  use  the  current substitute
  5475.             string.   If Target is non-empty insert it in the
  5476.             current search string.     If <Object> in non-empty
  5477.             insert it in the  current  substitute string.  If
  5478.             the direction is forward, place the cursor at the
  5479.             end if the inserted string, end if it is backward
  5480.             place the cursor at the beginning.  The search is
  5481.             case insensitive.
  5482.  
  5483.     9.4.2.101                  :SV
  5484.  
  5485.                   Show Version
  5486.  
  5487.     Syntax:     :SV
  5488.  
  5489.     Semantics:    Show the  version  number  of Sedt on the message
  5490.             line.
  5491.  
  5492.     9.4.2.102                 :SYQ
  5493.  
  5494.                   Spawn with no output
  5495.  
  5496.     Syntax:     :SYQ<Delimiter><Command><Delimiter>
  5497.  
  5498.     Semantics:    The :SYQ is the same as the :SYS command with the
  5499.             exception that it  does  not clear the screen and
  5500.             refresh it after the spawn.  This command is used
  5501.             to  execute  programs that accept  no  input  and
  5502.             provide no output.
  5503.  
  5504.     9.4.2.103              :SYR
  5505.  
  5506.               Spawn with redirected output
  5507.  
  5508.     Syntax:     :SYR<Delimiter><New stdout><Delimiter><New stderr>
  5509.              <Delimiter><Command><Delimiter>
  5510.  
  5511.     Semantics:    The :SYR command  is similar to the :SYQ command,
  5512.             but  redirects standard output and  error  output
  5513.             for the child process to the given file names.
  5514.  
  5515.     9.4.2.104              :SYS
  5516.  
  5517.                Spawn to operating system
  5518.  
  5519.     Syntax:     :SYS<Delimiter><Command><Delimiter>
  5520.  
  5521.     Semantics:    Execute  <Command> and a command to the operating
  5522.             system.   Before  the  command    is  executed  the
  5523.             screen is cleared  and    the  modes  reset  to the
  5524.             default modes.    If  <Command>  is  empty call the
  5525.             command processor.  On return prompt for input of
  5526.             a  single  keystroke if <Command> was  non-empty.
  5527.             Then refresh the display.
  5528.  
  5529.             On MS-DOS systems  COMSPEC  is used to locate the
  5530.             command  interpreter which is  spawned    when  the
  5531.             argument to :SYS is empty.
  5532.  
  5533.             SEDT uses free    memory    to  contain  buffers  and
  5534.             other working areas.   Whether    enough    memory is
  5535.             available  to actually perform the  :SYS  command
  5536.             depends  on  the largest memory requirement  that
  5537.             SEDT  has  had    during the session.   It  is  not
  5538.             possible  to  return  memory  once  it    has  been
  5539.             claimed and used by SEDT.
  5540.  
  5541.     9.4.2.105              :TAB
  5542.  
  5543.                  Move to next tab stop
  5544.  
  5545.     Syntax:     {<Count>}:TAB
  5546.  
  5547.     Semantics:    If the current indentation level is to    the right
  5548.             of  the  cursor  insert  tab and space characters
  5549.             until  the  cursor  is    placed at the indentation
  5550.             level.    Otherwise insert tab and space characters
  5551.             until the cursor  is at the next tab stop.  If no
  5552.             tab stops are to  the  right  of  the  cursor  do
  5553.             nothing.  Only space characters  will be inserted
  5554.             if the current tab expansion mode  is  to  expand
  5555.             tabs.  The tab expansion is changed  with the :TT
  5556.             command  and  displayed on the mode line  of  the
  5557.             display.
  5558.  
  5559.             In overstrike  mode  :TAB  will  space    over  any
  5560.             characters already on the line.
  5561.  
  5562.     9.4.2.106              :TAD
  5563.  
  5564.               Adjust text by one tab stop
  5565.  
  5566.     Syntax:     {+|-|<|>}{<Count>}:TAD<@ command>
  5567.  
  5568.     Semantics:    Move  all   lines  fully  contained  between  the
  5569.             current cursor position  and the position defined
  5570.             by the @ command  <Count>  tab    stops left if the
  5571.             current  direction is backward or  right  if  the
  5572.             current direction is forward.  Left adjustment is
  5573.             not performed further than to the first non space
  5574.             or tab character.
  5575.  
  5576.     9.4.2.107               :TB
  5577.  
  5578.                    Toggle Block Mode
  5579.  
  5580.     Syntax:     :TB
  5581.  
  5582.     Semantics:    Toggle between block and line cut and paste.
  5583.  
  5584.             In line mode  (shown  by  line on the mode line),
  5585.             the select region is  all  characters between the
  5586.             cursor and the select point.  Cut operations will
  5587.             remove      the  entire  select  region.        Paste
  5588.             operations will insert the entire paste region at
  5589.             the cursor position.
  5590.  
  5591.             In  block  mode  a cut operation will remove  all
  5592.             characters  that  are     within    the    rectangle
  5593.             delimited by the cursor  and the select point.    A
  5594.             paste  operation  will insert the  paste  buffer,
  5595.             line  by  line    in  the buffer    starting  at  the
  5596.             cursor    position  and at the cursor column,  thus
  5597.             inserting  a  rectangle  of text into the buffer.
  5598.             The  select  region  will only have the column at
  5599.             the select point shown in reverse video.
  5600.  
  5601.     9.4.2.108               :TC
  5602.  
  5603.             Toggle Control Character Display
  5604.  
  5605.     Syntax:     :TC
  5606.  
  5607.     Semantics:    Toggles between display  of control characters as
  5608.             single    reverse  video characters with control    C
  5609.             shown as a reverse video C, or    as strings in the
  5610.             format <name> when name is the ASCII mnemonic for
  5611.             the character.
  5612.  
  5613.     9.4.2.109               :TD
  5614.  
  5615.                 Toggle Direction
  5616.  
  5617.     Syntax:     :TD
  5618.  
  5619.     Semantics:    Toggle the direction flag shown on the mode line.
  5620.             Most  cursor  movement      commands  work  in  the
  5621.             direction shown by the direction flag.
  5622.  
  5623.     9.4.2.110               :TF
  5624.  
  5625.                       Fill
  5626.  
  5627.     Syntax:     :TF<@ command>
  5628.  
  5629.     Semantics:    Fill or  justify  all  text  between  the current
  5630.             cursor position and  the  point  defined by the @
  5631.             command.  If the ruler contains an R to the right
  5632.             of column 1 the text will be filled (jagged right
  5633.             margin).  If it contains a  J  to  the    right  of
  5634.             column    1  the    text will be justified    (straight
  5635.             right margin).    The left margin is defined by the
  5636.             position  of  either  A  or W in the ruler.    To
  5637.             justify  text  SEDT  packs the text as closely as
  5638.             possible with  single spaces between words except
  5639.             after punctuation, where two spaces are used.  It
  5640.             then inserts extra spaces until the text lines up
  5641.             with the right margin.
  5642.  
  5643.     9.4.2.111               :TI
  5644.  
  5645.                  Test for input
  5646.  
  5647.     Syntax:     :TI
  5648.  
  5649.     Semantics:    Set SEDT's internal error flag    if  the  internal
  5650.             type-ahead buffer  contains any characters.  This
  5651.             command is used  to  terminate    a command loop by
  5652.             typing a character.
  5653.     
  5654.     9.4.2.112               :TK
  5655.     
  5656.              Toggle typewriter key command execution
  5657.     
  5658.     Syntax:     :TK
  5659.     
  5660.     Semantics:    Toggle      between  executing  commands    bound  to
  5661.             typewriter keys and inserting the ascii character
  5662.             bound to the  keys  even  when    they are bound to
  5663.             commands.
  5664.  
  5665.     9.4.2.113               :TM
  5666.  
  5667.                  Toggle buffer markers
  5668.  
  5669.     Syntax:     :TM
  5670.  
  5671.     Semantics:    Toggle between showing the beginning and  end  of
  5672.             buffers  with  bold,  reverse  video BOF and  EOF
  5673.             markers.  Default is not to show the markers.
  5674.  
  5675.     9.4.2.114               :TP
  5676.  
  5677.                    Toggle Cursor Line
  5678.  
  5679.     Syntax:     :TP
  5680.  
  5681.     Semantics:    Toggles between full screen  display  where  the
  5682.             cursor line will float within  the display window
  5683.             to minimize screen updates, and mid-line  editing
  5684.             where the cursor is always on the  center line of
  5685.             the window.
  5686.  
  5687.     9.4.2.115               :TR
  5688.  
  5689.                   Toggle ruler display
  5690.  
  5691.     Syntax:     :TP
  5692.  
  5693.     Semantics:    Toggles display  of  the current ruler at the top
  5694.             of the window.
  5695.  
  5696.     9.4.2.116               :TS
  5697.  
  5698.              Toggle automatic screen shifts
  5699.  
  5700.     Syntax:     :TS
  5701.  
  5702.     Semantics:    Toggle    shifting the screen image horizontally to
  5703.             keep  the  current  cursor  position  within  the
  5704.             screen    margins.  When screen shifting is toggled
  5705.             off the leftmost column on the screen will always
  5706.             correspond to the  leftmost  column  in the file.
  5707.             The current state of  the  toggle is shown on the
  5708.             mode line of the display.
  5709.  
  5710.     9.4.2.117               :TT
  5711.  
  5712.                   Toggle tab expansion
  5713.  
  5714.     Syntax:     :TT
  5715.  
  5716.     Semantics:    Toggle    between  inserting  tab characters in the
  5717.             buffer and  expanding them into space characters.
  5718.             The current state  of  the toggle is displayed on
  5719.             the mode line of the display.
  5720.  
  5721.     9.4.2.118               :TU
  5722.  
  5723.                  Toggle case sensitivity
  5724.  
  5725.     Syntax:     :TU
  5726.  
  5727.     Semantics:    Toggle    between  case     sensitive    and    case
  5728.             insensitive searches.  The  current  state of the
  5729.             toggle    is  displayed on the  mode  line  of  the
  5730.             display.
  5731.  
  5732.     9.4.2.119               :TX
  5733.  
  5734.                       Toggle function definition insertion
  5735.  
  5736.     Syntax:     :TX
  5737.  
  5738.     Semantics:    Toggle  between inserting characters and function
  5739.                         definitions in  reponses to prompts.  The current
  5740.                         state of the toggle is displayed on the mode line
  5741.                         of the display.
  5742.  
  5743.     9.4.2.120               :UC
  5744.  
  5745.                    Undelete character
  5746.  
  5747.     Syntax:     {<Count>}:UC
  5748.  
  5749.     Semantics:    Insert the contents  of  the  character  undelete
  5750.             buffer at the current cursor position.
  5751.  
  5752.     9.4.2.121               :UL
  5753.  
  5754.                  Undelete line
  5755.  
  5756.     Syntax:     {<Count>}:UL
  5757.  
  5758.     Semantics:    Insert    the contents of the line delete buffer at
  5759.             the current cursor position.
  5760.  
  5761.     9.4.2.122               :UM
  5762.  
  5763.                    Undo last command
  5764.  
  5765.     Syntax:     :UM
  5766.  
  5767.     Semantics:    Attempt to negate the effect of the last command.
  5768.             Commands for which :UM has been implemented are:
  5769.  
  5770.                 All @ commands.
  5771.                 :SUB
  5772.                 :D
  5773.  
  5774.             Attempting to undo any other command  will  cause
  5775.             an error do be displayed.
  5776.  
  5777.     9.4.2.123              :UOFF
  5778.  
  5779.                  Turn off screen updates
  5780.  
  5781.     Syntax:     :UOFF
  5782.  
  5783.     Semantics:    Prevents screen  updating  until a :UON, :WC, :WI
  5784.             or :RL command is executed.  This command is used
  5785.             to  prevent excessive screen  updating    processes
  5786.             with complex command sequences;
  5787.  
  5788.     9.4.2.124              :UON
  5789.  
  5790.                   Turn on screen updates
  5791.  
  5792.     Syntax:     :UON
  5793.  
  5794.     Semantics:    Restores screen updating and repaint  the  screen
  5795.             to  reflect any changes made while  updates  were
  5796.             turned off.
  5797.  
  5798.     9.4.2.125              :UPAG
  5799.  
  5800.                  Undelete page
  5801.  
  5802.     Syntax:     {<Count>}:UPAG
  5803.  
  5804.     Semantics:    Insert the contents of the page delete buffer  at
  5805.             the current cursor position.
  5806.  
  5807.     9.4.2.126              :UPAR
  5808.  
  5809.                    Undelete paragraph
  5810.  
  5811.     Syntax:     {<Count>}:UPAR
  5812.  
  5813.     Semantics:    Insert    the  contents  of  the    paragraph  delete
  5814.             buffer at the current cursor position.
  5815.  
  5816.     9.4.2.127              :UPD
  5817.  
  5818.                   Update screen header
  5819.  
  5820.     Syntax:     :UPD
  5821.  
  5822.     Semantics:    Update    the  first  line of the display.  This is
  5823.             normally done  only  when SEDT is ready for input
  5824.             and there are no  characters  in  the  type-ahead
  5825.             buffer.
  5826.  
  5827.     9.4.2.128              :USEN
  5828.  
  5829.                    Undelete sentence
  5830.  
  5831.     Syntax:     {<Count>}:USEN
  5832.  
  5833.     Semantics:    Insert the contents of the sentence delete buffer
  5834.             at the current cursor position.
  5835.  
  5836.     9.4.2.129              :USR
  5837.  
  5838.                      Paste
  5839.  
  5840.     Syntax:     {<Count>}:USR
  5841.  
  5842.     Semantics:    Insert the contents of the  paste  buffer  at the
  5843.             current cursor position.
  5844.  
  5845.     9.4.2.130               :UU
  5846.  
  5847.                 Undelete unknown
  5848.  
  5849.     Syntax:     {<Count>}:UU
  5850.  
  5851.     Semantics:    Insert the  contents of the unknown delete buffer
  5852.             at the current cursor position.
  5853.  
  5854.     9.4.2.131               :UW
  5855.  
  5856.                  Undelete word
  5857.  
  5858.     Syntax:     {<Count>}:UW
  5859.  
  5860.     Semantics:    Insert the contents  of the word delete buffer at
  5861.             the current cursor position.
  5862.  
  5863.     9.4.2.132               :WC
  5864.  
  5865.                  Toggle windows
  5866.  
  5867.     Syntax:     :WC
  5868.  
  5869.     Semantics:    Toggle between one and two window  displays.  The
  5870.             bottom window will be empty if :WC is used before
  5871.             :WI is used.  If :WI has been used the two window
  5872.             display  will  show  the  buffer  selected as the
  5873.             current buffer    before    the  last :WI command was
  5874.             executed.
  5875.  
  5876.     9.4.2.133               :WD
  5877.  
  5878.                   Toggle width
  5879.  
  5880.     Syntax:     :WD
  5881.  
  5882.     Semantics:    Toggle between 80 and 132 column display formats.
  5883.             This command has no effect on systems that cannot
  5884.             support 132 character displays.
  5885.  
  5886.     9.4.2.134               :WI
  5887.  
  5888.                  Select buffer
  5889.  
  5890.     Syntax:     <Count>:WI
  5891.  
  5892.     Semantics:    Select the buffer given in <Count> as the current
  5893.             buffer.  Valid buffers are 1 through 4.
  5894.  
  5895.             Each  buffer  has  a    unique    edit  environment
  5896.             including:
  5897.  
  5898.                 Input file
  5899.                 Output file
  5900.                 Current position
  5901.                 Ruler
  5902.                 Marks
  5903.                 Select point
  5904.  
  5905.     9.4.2.135               :X
  5906.  
  5907.                       Exit
  5908.  
  5909.     Syntax:     :X
  5910.  
  5911.     Semantics:    Save  the  current buffer in  it's  output  file.
  5912.             Then  exit  unless other buffers contain  unsaved
  5913.             changes.    If    unsaved changes exist prompt  the
  5914.             user for confirmation before exiting.
  5915.  
  5916.     9.4.2.136               :YN
  5917.  
  5918.                  Prompt for Confirmation
  5919.  
  5920.     Syntax:     :YN<Delimiter><String><Delimiter>
  5921.  
  5922.     Semantics:    Display  the  string  on the bottom line  of  the
  5923.             display with the string <Y/N>:    appended and wait
  5924.             for the user to enter either a Y or an N from the
  5925.             keyboard.    If  the response is Y the error flag
  5926.             will be  set,  otherwise it will be cleared.  :YN
  5927.             is  used  in  conjunction   with  ^E  conditional
  5928.             execution.               For      example
  5929.             ^E(:YN/Question?/)(:OM/Yes/|:OM/No/)  will output
  5930.             a Yes if Y is typed in response.
  5931.  
  5932.     9.4.2.137                  :Z
  5933.  
  5934.                    Zap buffer
  5935.  
  5936.     Syntax:     <Count>:Z
  5937.  
  5938.     Semantics:    Clear  the  current  buffer.   If unsaved changes
  5939.             have been  made  prompt the user for confirmation
  5940.             before clearing.
  5941.     
  5942.             If <Count> is zero,  the buffer will be marked as
  5943.             read-only.  Even if the  buffer  is modified, the
  5944.             contents will not be saved and    you  will  not be
  5945.             warned if the buffer is cleared.
  5946.     
  5947.     Copyright (c) Anker Berg-Sonne, 1985-1989
  5948.     Sedt Version 4.0 (254)
  5949.  
  5950.  
  5951.                    Appendix A
  5952.  
  5953.                   Keyboard translation
  5954.  
  5955.     Key        LK201/LK250
  5956.  
  5957.     <Escape>
  5958.     <Backspace>
  5959.     <Return>    <Return>
  5960.     <Linefeed>
  5961.     <Delete>    <<X>
  5962.     <Control>    <Ctl>
  5963.     <Tab>        <Tab>
  5964.     <Space>     <Spacebar>
  5965.     <F1>        <F1>
  5966.     <F2>        <F2>
  5967.     <F3>        <F3>
  5968.     <F4>        <F4>
  5969.     <F5>        <F5>
  5970.     <F6>        <F6>
  5971.     <F7>        <F7>
  5972.     <F8>        <F8>
  5973.     <F9>        <F9>
  5974.     <F10>        <F10>
  5975.     <F11>        <F11>
  5976.     <F12>        <F12>
  5977.     <F13>        <F13>
  5978.     <F14>        <F14>
  5979.     <Help>        <Help>
  5980.     <Do>        <Do>
  5981.     <F17>        <F17>
  5982.     <F18>        <F18>
  5983.     <F19>        <F19>
  5984.     <F20>        <F20>
  5985.     <Find>        <Find>
  5986.     <Insert Here>    <Insert Here>
  5987.     <Remove>    <Remove>
  5988.     <Select>    <Select>
  5989.     <Prev Screen>    <Prev Screen>
  5990.     <Next Screen>    <Next Screen>
  5991.     <Up arrow>    <Up Arrow>
  5992.     <Left arrow>    <Left Arrow>
  5993.     <Down arrow>    <Down Arrow>
  5994.     <Right arrow>    <Right Arrow>
  5995.     <Keypad 0>    <Keypad 0>
  5996.     <Keypad 1>    <Keypad 1>
  5997.     <Keypad 2>    <Keypad 2>
  5998.     <Keypad 3>    <Keypad 3>
  5999.     <Keypad 4>    <Keypad 4>
  6000.     <Keypad 5>    <Keypad 5>
  6001.     <Keypad 6>    <Keypad 6>
  6002.     <Keypad 7>    <Keypad 7>
  6003.     <Keypad 8>    <Keypad 8>
  6004.     <Keypad 9>    <Keypad 9>
  6005.     <Keypad ,>    <Keypad ,>
  6006.     <Keypad ->    <Keypad ->
  6007.     <Keypad .>    <Keypad .>
  6008.     <Gold>        <Keypad PF1>
  6009.     <PF2>        <Keypad PF2>
  6010.     <PF3>        <Keypad PF3>
  6011.     <PF4>        <Keypad PF4>
  6012.     <Keypad Enter>    <Keypad Enter>
  6013.  
  6014.     Key        IBM PC        IBM PC/AT    Enhanced IBM
  6015.  
  6016.     <Escape>
  6017.     <Backspace>
  6018.     <Return>    <Enter>     <Enter>     <Enter>
  6019.     <Linefeed>
  6020.     <Delete>    <<->        <<->        <Backspace>
  6021.     <Control>    <Ctrl>        <Ctrl>        <Ctrl>
  6022.     <Tab>        <->|>        <->|>        <Tab>
  6023.     <Space>     <Spacebar>    <Spacebar>    <Spacebar>
  6024.     <F1>        <F1>        <F1>        <F1>
  6025.     <F2>        <F2>        <F2>        <F2>
  6026.     <F3>        <F3>        <F3>        <F3>
  6027.     <F4>        <F4>        <F4>        <F4>
  6028.     <F5>        <F5>        <F5>        <F5>
  6029.     <F6>        <F6>        <F6>        <F6>
  6030.     <F7>        <F7>        <F7>        <F7>
  6031.     <F8>        <F8>        <F8>        <F8>
  6032.     <F9>        <F9>        <F9>        <F9>
  6033.     <F10>        <F10>        <F10>        <F10>
  6034.     <F11>        <Shift> <F1>    <Shift> <F1>    <F11>
  6035.     <F12>        <Shift> <F2>    <Shift> <F2>    <F12>
  6036.     <F13>        <Shift> <F3>    <Shift> <F3>    <Shift> <F3>
  6037.     <F14>        <Shift> <F4>    <Shift> <F4>    <Shift> <F4>
  6038.     <Help>        <Shift> <F5>    <Shift> <F5>    <Shift> <F5>
  6039.     <Do>        <Shift> <F6>    <Shift> <F6>    <Shift> <F6>
  6040.     <F17>        <Shift> <F7>    <Shift> <F7>    <Shift> <F7>
  6041.     <F18>        <Shift> <F8>    <Shift> <F8>    <Shift> <F8>
  6042.     <F19>        <Shift> <F9>    <Shift> <F9>    <Shift> <F9>
  6043.     <F20>        <Shift> <F10>    <Shift> <F10>    <Shift> <F10>
  6044.     <Find>        <Shift> <Home>    <Shift> <Home>    <Home>
  6045.     <Insert Here>    <Shift> <Ins>    <Shift> <Ins>    <Insert>
  6046.     <Remove>    <Shift> <Del>    <Shift> <Del>    <Delete>
  6047.     <Select>    <Shift> <End>    <Shift> <End>    <End>
  6048.     <Prev Screen>    <Shift> <Pg Up> <Shift> <Pg Up> <Page Up>
  6049.     <Next Screen>    <Shift> <Pg Dn> <Shift> <Pg Dn> <Page Down>
  6050.     <Up arrow>    <Shift> <Up Arrow>
  6051.                     <Shift> <Up Arrow>
  6052.                             <Up Arrow>
  6053.     <Left arrow>    <Shift> <Left Arrow>
  6054.                     <Shift> <Left Arrow>
  6055.                             <Left Arrow>
  6056.     <Down arrow>    <Shift> <Down Arrow>
  6057.                     <Shift> <Down Arrow>
  6058.                             <Down Arrow>
  6059.     <Right arrow>    <Shift> <Right Arrow>
  6060.                     <Shift> <Right Arrow>
  6061.                             <Right Arrow>
  6062.     <Keypad 0>    <Keypad 0>    <Keypad 0>    <Keypad 0>
  6063.     <Keypad 1>    <Keypad 1>    <Keypad 1>    <Keypad 1>
  6064.     <Keypad 2>    <Keypad 2>    <Keypad 2>    <Keypad 2>
  6065.     <Keypad 3>    <Keypad 3>    <Keypad 3>    <Keypad 3>
  6066.     <Keypad 4>    <Keypad 4>    <Keypad 4>    <Keypad 4>
  6067.     <Keypad 5>    <Keypad 5>    <Keypad 5>    <Keypad 5>
  6068.     <Keypad 6>    <Keypad 6>    <Keypad 6>    <Keypad 6>
  6069.     <Keypad 7>    <Keypad 7>    <Keypad 7>    <Keypad 7>
  6070.     <Keypad 8>    <Keypad 8>    <Keypad 8>    <Keypad 8>
  6071.     <Keypad 9>    <Keypad 9>    <Keypad 9>    <Keypad 9>
  6072.     <Keypad ,>    <Shift> <Keypad ->
  6073.                     <Keypad ->    <Keypad +>
  6074.     <Keypad ->    <Keypad ->    <Prt Sc>    <Shift> <Keypad +>
  6075.     <Keypad .>    <Keypad .>    <Keypad .>    <Keypad .>
  6076.     <Gold>        <Esc>,<Num Lock><Esc>        <Esc>,<Num Lock>
  6077.     <PF2>        <Shift> <Num Lock>
  6078.                     <Num Lock>    <Keypad />
  6079.     <PF3>        <Scroll Lock>
  6080.                     <Scroll Lock>    <Keypad *>
  6081.     <PF4>        <Shift> <Scroll Lock>
  6082.                     <Sys Req>    <Keypad ->
  6083.     <Keypad Enter>    <Keypad +>    <Keypad +>    <Keypad Enter>
  6084.  
  6085.     Key        IBM Convert.    ATARI ST
  6086.  
  6087.     <Escape>
  6088.     <Backspace>            <Backspace>
  6089.     <Return>    <Enter>     <Return>
  6090.     <Linefeed>
  6091.     <Delete>    <Bksp>        <Delete>
  6092.     <Control>    <Ctrl>        <Control>
  6093.     <Tab>        <->|>        <Tab>
  6094.     <Space>     <Spacebar>    <Spacebar>
  6095.     <F1>        <F1>        <F1>
  6096.     <F2>        <F2>        <F2>
  6097.     <F3>        <F3>        <F3>
  6098.     <F4>        <F4>        <F4>
  6099.     <F5>        <F5>        <F5>
  6100.     <F6>        <F6>        <F6>
  6101.     <F7>        <F7>        <F7>
  6102.     <F8>        <F8>        <F8>
  6103.     <F9>        <F9>        <F9>
  6104.     <F10>        <F10>        <F10>
  6105.     <F11>        <Shift> <F1>    <Shift> <F1>
  6106.     <F12>        <Shift> <F2>    <Shift> <F2>
  6107.     <F13>        <Shift> <F3>    <Shift> <F3>
  6108.     <F14>        <Shift> <F4>    <Shift> <F4>
  6109.     <Help>        <Shift> <F5>    <Shift> <F5>
  6110.     <Do>        <Shift> <F6>    <Shift> <F6>
  6111.     <F17>        <Shift> <F7>    <Shift> <F7>
  6112.     <F18>        <Shift> <F8>    <Shift> <F8>
  6113.     <F19>        <Shift> <F9>    <Shift> <F9>
  6114.     <F20>        <Shift> <F10>    <Shift> <F10>
  6115.     <Find>        <Fn> <Home>    <Shift> <Clr Home>
  6116.     <Insert Here>    <Ins>        <Insert>
  6117.     <Remove>    <Del>        <Clr Home>
  6118.     <Select>    <Fn> <End>    <Shift> <Insert>
  6119.     <Prev Screen>    <Fn> <PgUp>    <Shift> <Up Arrow>
  6120.     <Next Screen>    <Fn> <PgDn>    <Shift> <Down Arrow>
  6121.     <Up arrow>    <Up Arrow>    <Up Arrow>
  6122.     <Left arrow>    <Left Arrow>    <Left Arrow>
  6123.     <Down arrow>    <Down Arrow>    <Down Arrow>
  6124.     <Right arrow>    <Right Arrow>    <Right Arrow>
  6125.     <Keypad 0>    <Fn> <Keypad 0> <Keypad 0>
  6126.     <Keypad 1>    <Fn> <Keypad 1> <Keypad 1>
  6127.     <Keypad 2>    <Fn> <Keypad 2> <Keypad 2>
  6128.     <Keypad 3>    <Fn> <Keypad 3> <Keypad 3>
  6129.     <Keypad 4>    <Fn> <Keypad 4> <Keypad 4>
  6130.     <Keypad 5>    <Fn> <Keypad 5> <Keypad 5>
  6131.     <Keypad 6>    <Fn> <Keypad 6> <Keypad 6>
  6132.     <Keypad 7>    <Fn> <Keypad 7> <Keypad 7>
  6133.     <Keypad 8>    <Fn> <Keypad 8> <Keypad 8>
  6134.     <Keypad 9>    <Fn> <Keypad 9> <Keypad 9>
  6135.     <Keypad ,>    <Fn> <Keypad *> <Keypad +>
  6136.     <Keypad ->    <Fn> <Keypad /> <Keypad ->
  6137.     <Keypad .>    <Fn> <Keypad .> <Keypad .>
  6138.     <Gold>        <Num Lock>    <Esc>,<Keypad (>
  6139.     <PF2>        <Scroll Lock>    <Keypad )>
  6140.     <PF3>        <Fn> <Keypad -> <Keypad />
  6141.     <PF4>        <Fn> <Keypad +> <Keypad *>
  6142.     <Keypad Enter>            <Keypad Enter>
  6143.     
  6144.     Copyright (c) Anker Berg-Sonne, 1985-1989
  6145.     Sedt Version 4.0 (254)
  6146.  
  6147.  
  6148.                     Appendix B
  6149.  
  6150.                    Installation
  6151.  
  6152.                      ATARI ST
  6153.  
  6154.  
  6155.         Your first action should be  to make backup copies of the
  6156.     Sedt disks.  Use the backup  copies  from now on and only use the
  6157.     Sedt disks to create new backup copies.
  6158.  
  6159.         You can either use the backup copy  to    run  Sedt from or
  6160.     copy it's contents onto another disk or into a folder.
  6161.  
  6162.         When you run Sedt from the  ATARI  GEM desktop you should
  6163.     run  it from the directory containing all of the  files.    Under
  6164.     ATARI  GEM  this  is  done  simply  by    opening a window  to  the
  6165.     directory and double clicking the program.
  6166.  
  6167.         If you intend to run Sedt from a shell processor, such as
  6168.     the  Mark  Williams  msh, you can install Sedt so that it can  be
  6169.     called from any directory without copying the files.  Install the
  6170.     directory  that  contains  SEDT.TTP  into  the    PATH  environment
  6171.     variable and also create a new environment variable, called SEDT,
  6172.     that points  to  the  directory containing all the files from the
  6173.         distribution.  The command "setenv SEDT=C:\SEDT\" will cause Sedt
  6174.         to pick the files  out  of  directory  \SEDT  on drive C.  Do not
  6175.         forget the last backslash!
  6176.  
  6177.         When Sedt  cannot  use    more  RAM memory it will overflow
  6178.     onto a temporary  disk file.  If you have defined the environment
  6179.     variable TEMP Sedt will  use  the  value  if  it to determine the
  6180.     drive and directory on which  to  place  the temporary file.  The
  6181.     command "setenv TEMP=D:\" will place the  temporary  file  in the
  6182.     root directory of drive D.
  6183.  
  6184.         The program SEDT.TTP is intended to be run  from  a shell
  6185.     processor.   You can run it from ATARI GEM and supply  arguments,
  6186.     but it will not use windows, the mouse or menus.
  6187.  
  6188.         GSEDT.PRG is  intended    to  be    run  from  the    ATARI GEM
  6189.     desktop and uses windows, mouse and menus.
  6190.     
  6191.     Sedt Version 4.0 (254)
  6192.  
  6193.  
  6194.                     Appendix B
  6195.  
  6196.                Installation Instructions
  6197.  
  6198.                  MS-DOS and OS/2
  6199.  
  6200.            Rainbow, IBM PC, IBM PC/AT, IBM PS/2 With Hard Disk
  6201.  
  6202.  
  6203.         Your first action  should be to make a backup copy of the
  6204.     Sedt disk.  Use the backup copy from now on and only use the Sedt
  6205.     disk to create a new backup copy.
  6206.  
  6207.         Create a  directory  for  the SEDT files using the DOS MD
  6208.     command in the format "CD <drive>:\<directory>".  E.g.
  6209.  
  6210.         MD C:\SEDT
  6211.  
  6212.         In this example  C  is the name of the drive and SEDT the
  6213.     name of the directory that is being created.
  6214.  
  6215.         Ensure    that  the directory  you  just    created  is  your
  6216.     default directory with the DOS    CD  command  in  the  format  "CD
  6217.     \<directory>".    E.g.
  6218.  
  6219.         C:
  6220.         CD \SEDT
  6221.  
  6222.         Copy the all files from the backup disk  into the current
  6223.     directory.  E.g.
  6224.  
  6225.         COPY A:*.*
  6226.  
  6227.         If you are familiar with Sedt you can use it for the next
  6228.     two steps.
  6229.  
  6230.         Add  the  directory that contains the SEDT files  to  the
  6231.     PATH  command  in AUTOEXEC.BAT on your boot drive in  the  format
  6232.     ";\<directory>".   If  there  is  no PATH command in AUTOEXEC.BAT
  6233.     create one that  contains  the    root directory on your boot drive
  6234.     and the SEDT directory.  E.g.
  6235.  
  6236.         PATH C:\;C:\SEDT
  6237.  
  6238.         Add a command  to  create  an environment variable called
  6239.     SEDT that points to  the  directory  containing the SEDT files to
  6240.     AUTOEXEC.BAT on your boot drive.  E.g.
  6241.  
  6242.         SET SEDT=C:\SEDT\
  6243.  
  6244.         An example of a complete installation follows:
  6245.  
  6246.         A>C:
  6247.         C>MD \SEDT
  6248.         C>CD \SEDT
  6249.         C>COPY A:*.*
  6250.         CD \
  6251.         COPY CON: AUTOEXEC.BAT
  6252.         DATE
  6253.         TIME
  6254.         PATH C:\;C:\SEDT
  6255.         SET SEDT=C:\SEDT\^Z
  6256.         C>
  6257.  
  6258.         Using  this  installation procedure you can run Sedt from
  6259.     any disk or directory.
  6260.  
  6261.         When Sedt  cannot  use    more  RAM memory it will overflow
  6262.     onto a temporary  disk file.  If you have defined the environment
  6263.     variable TEMP Sedt will  use  the  value  if  it to determine the
  6264.     drive and directory on which  to  place  the temporary file.  The
  6265.     command "SET TEMP=D:\" will place the temporary  file in the root
  6266.     directory of drive D.
  6267.     
  6268.     Sedt Version 4.0 (254)
  6269.  
  6270.  
  6271.                     Appendix B
  6272.  
  6273.  
  6274.                Installation Instructions
  6275.  
  6276.                       VMS
  6277.  
  6278.         Copy all the files from  the distribution to a directory.
  6279.         Define the logical name Sedt$Library  to  point  to the directory
  6280.         and the symbol Se*dt:==$Sedt$Library:Sedt.  You do not need write
  6281.         access to Sedt$Library.
  6282.  
  6283.         Define the logical name Sedt$Dir to point to a    directory
  6284.     which you have write access to.  Saved rulers will  be    stored in
  6285.     this  directory.  Until you have saved ruler 0 in this    directory
  6286.     you  will  get the message "Could not find ruler file" every time
  6287.     you enter  Sedt.   Enter  ruler  mode,    define your default ruler
  6288.     settings and save them by typing Gold 0.
  6289.  
  6290.     Example:
  6291.         Assign Sys$Disk:[Mydir] Sedt$Library
  6292.         Assign Sys$Disk:[Mydir] Sedt$Dir
  6293.         Se*dt:==$Sedt$Library:Sedt
  6294.  
  6295.         Using  this  installation procedure you can run Sedt from
  6296.     any disk or directory.
  6297.     
  6298.  
  6299.                    Appendix B
  6300.     
  6301.                 Installation Instructions
  6302.  
  6303.                   UNIX Systems
  6304.  
  6305.         Copy sedt (the executable  file)  into a directory in the
  6306.     path.
  6307.  
  6308.         Copy the rest of the  files  in the distribution into any
  6309.     directory  that  the  users  will  have   read    access    to,  e.g.
  6310.     /usr/lib/sedt
  6311.  
  6312.         If you log into the Bourne shell  include  the    following
  6313.     into  /etc/profile  assuming you want to make Sedt  available  to
  6314.     everybody, or in .profile in your directory if you  just  want to
  6315.     use  Sedt  yourself  (assuming    you  put  the  Sedt files in  the
  6316.     directory in the above example):
  6317.  
  6318.     SEDT=/usr/lib/sedt
  6319.     PSEDT=$HOME
  6320.     export SEDT PSEDT
  6321.     
  6322.         If  you  log  into  the  C shell include the following in
  6323.     .cshrc in your directory:
  6324.     
  6325.     setenv SEDT /usr/lib/sedt
  6326.     setenv PSEDT $HOME
  6327.  
  6328.     
  6329.                    Appendix B
  6330.  
  6331.                 Installation Instructions
  6332.  
  6333.      Additional Instructions to  enable  using  Sedt on the console 
  6334.                 of PCs running SCO XENIX
  6335.  
  6336.         To be able to use Sedt    from  the console of a PC running
  6337.     SCO XENIX the keyboard must be remapped to emulate a VT200.  This
  6338.     will  change the escape sequences sent by the  keys.    To  enter
  6339.     numeric values from the numeric keypad the Alt or  Ctrl keys must
  6340.     be held down.  To change Num Lock Alt Num Lock must be typed.
  6341.  
  6342.     The files are built  for the enhanced AT style keyboard (separate
  6343.         editing keypad):
  6344.  
  6345.         Copy strings.en and keys.en to /usr/lib/keyboard.
  6346.  
  6347.         Include
  6348.  
  6349.             mapstr /usr/lib/keyboard/strings.en
  6350.  
  6351.         in /etc/profile.
  6352.  
  6353.         Include
  6354.  
  6355.             mapkey /usr/lib/keyboard/keys.en
  6356.  
  6357.         /etc/rc
  6358.  
  6359.         Ensure that Num Lock is on when Sedt is called.  Num Lock
  6360.     can be changed by typing Alt Num Lock.
  6361.  
  6362.         The environment variable term must contain the value ansi
  6363.     for Sedt to work properly from the console.
  6364.         
  6365.                 keys.at and strings.at contain key  and  string files for
  6366.         the old AT style keyboard.  You  needs  to  change ansim.inp then
  6367.         run  mapkey  and  change ansih.edt to reflect the  old  AT  style
  6368.         keyboard.
  6369.     
  6370.     Sedt Version 4.0 (254)
  6371.  
  6372.  
  6373.                    Appendix C
  6374.  
  6375.                   Error Messages
  6376.  
  6377.         Error messages    fall  into  four  classes:    Fatal error
  6378.     messages that cause  Sedt to abort execution, and three levels of
  6379.     non-fatal errors.
  6380.  
  6381.         Fatal errors  cause  Sedt  to abort the edit session.  If
  6382.     you have enabled  autosaves  you  may be able to recover the edit
  6383.     session close to the point where it aborted.
  6384.  
  6385.     Fatal errors:
  6386.  
  6387.     Attempt to get before beginning
  6388.         Internal Sedt  error.     This is caused by a bug in Sedt.
  6389.  
  6390.     Could not open key definition file
  6391.         Sedt  could  not  fin  the  key  definition file  due  to
  6392.         improper installation or improper operation of Sedt .
  6393.  
  6394.     Error creating buffer file
  6395.         Sedt was unable to create a temporary file on disk due to
  6396.         a lack    of  disk  space available.  Correct the situation
  6397.         and restart the edit session for a recovery.
  6398.  
  6399.     Error reading data from buffer
  6400.         Internal Sedt error.  This is  caused  by  a bug in Sedt.
  6401.  
  6402.     Error writing data from buffer
  6403.         Sedt was unable  to write to a temporary file on disk due
  6404.         to a lack of disk space available.  Correct the situation
  6405.         and restart the edit session for a recovery.
  6406.  
  6407.     More files than buffers
  6408.         You attempted to call Sedt  with a command that requested
  6409.         editing more than 4 different files.
  6410.  
  6411.     Too many file arguments
  6412.         For each buffer you can only  request  an  input  and  an
  6413.         output file.  You supplied more than  two  file arguments
  6414.         to the buffer.
  6415.  
  6416.         Other errors  are  non-fatal  and can optionally ring the
  6417.     bell to get your attention.  This is done with the :EL command.
  6418.